Skip to content

Saranya SWOT

java-tutorial

Interface in Java

Step 1:Methods form the object’s interface with the outside world; the buttons on the front of your television set, for example, are the interface between you and the electrical wiring on the other side of its plastic casing. You press the “power” button to turn the television on and off.

Read More »Interface in Java

c++

Typedef in C++

The declaration that follows the keyword typedef is otherwise usual simple declaration (except that other type specifiers, e.g. static, cannot be used). It may declare one or many identifiers on the same line (e.g. int and a pointer to int), it may declare array and function types, pointers and references, class types, etc. Every identifier introduced in this declaration becomes a typedef-name rather than an object that it would become if the keyword typedef was removed.

Read More »Typedef in C++

c++

Virtual Functions in C++

Virtual functions in c++ is ,if you want to execute the member function of derived class then, you can declare  a function  in the base class virtual which makes that function existing in appearance only but, you can’t call that function. In order to make a function virtual, you have to add keyword virtual in front of a function.

Read More »Virtual Functions in C++