Posts

Showing posts with the label keyword

How many key words in the Java | Reserved word in Java

Image
In the  Java programming language , a  keyword  is one of  50   reserved words   that have a predefined meaning in the language. These word cannot use keywords as names for  variables ,  methods ,  classes , or as any other  identifier . The following are some prominent key words in java. Bstract Assert boolean break Byte Case catch char Class Const continue default Do Double else enum extends Final finally float For Goto If implements Import instanceof Int interface Long Native new package Private protected public return Short Static strictfp super Switch synchronized this throw Throws transient Try void volatile While Also...

Keywords | Reversed word | Unique words

Keywords / Reverse words are those which are used for a specific purpose and can't be used as identifier. These purpose is defined by programmer of compiler. There are some words of very programming language which are already used for a purpose. Example: float, int and void etc. These are the list of key words in the c++ language. lignas   (since C++11) alignof   (since C++11) and and_eq asm auto (1) bitand bitor bool break case catch char char16_t   (since C++11) char32_t   (since C++11) class compl const constexpr   (since C++11) const_cast continue decltype   (since C++11) default (1) delete (1) do double dynamic_cast else enum explicit export (1) extern false float for friend goto if inline int long mutable namespace new noexcept   (since C++11) not not_eq nullptr   (since C++11) operator or or_eq private protected public register reinterpret_cast return short signed s...

Cout | Console Out | Keyword for print

Cout              cout is a keyword which is used to print the data on the screen. This is a unique word which is only used to print something. << << sign which is used to show that the keyword / reserved word cout is used to print the data. So the outward sign is used. Both are used as:   cout<< General syntax to print anything on the screen:                                                                                           cout<<" Text to print  "; Example: -->To write Hello world on the screen. #include <iostream> using namespace std; void main () {             cout...