Short Circuit Operators ( &&, || ) These operators are exactly same as normal operator |, ‘&’ except the following difference. General Operators ( &, | ) Short Circuit Operator ( &&, || ) Both arguments should be evaluated always. Second argument evaluation is optional. Relatively performance is low. Performance is high. Applicable for both […]
Bitwise Operators
Bitwise Operators & –> If both operands are true, then the result will be true. Ι –> If at least one arg is true, then the result is true. ∧ ( XOR ) –> If both args are different the result is true. s.o.p ( true & false ) ; // false s.o.p ( true […]
Equality Operator
Equality Operator (= =), (!) We can apply equality operators for all primitive data types including boolean also. 10 = = 20 ; // true ‘ a ‘ = = 97 ; // true 10 = = 10.0 ; // true true = = true ; // true We can apply equality operators even for […]
Relational Operators
Relational Operators Relational operators ‘ >, >=, <, <= ‘ We have to apply these relational operators only for primitive data types except boolean. 10 > 20 // false ‘ a ‘ > 95 // true 10 < 10.5 // true true < false // ( compile time error ) We can’t apply relational operators […]
Arithmetic Operations
Arithmetic Operations ( +, -, *, /, % ) If we are performing any arithmetic operation between two variables a and b . The result is always type max ( type of a, type of b, int) byte + byte = int byte + short = int int + byte = int short + long […]
struts 2 display tag styles
Struts 2 display tag styles quite different and complex so here I am going to consolidating all types of possible styles and different types options in terms of data displaying. Displays a list in an html table, formatting each item in the list according to the Column tags nested inside of this tag. Use […]
How to access MSSQL Server database from SQL Developer
Here I can show you how to access MSSQL server database from SQL developer tool. Generally as you know we can access oracle database directly without any adding or modifying in SQL Developer. But we can’t access MSSQL database directly because Oracle didn’t provide MSSQL server database drivers (JDBC jar) along with SQL developer tool. […]
Top Linux Interview Questions and Answers
Here I am sharing admin level top Linux Interview Questions and Answers. Top Linux Interview Questions and Answers Compare Linux & Windows operating systems Criteria Linux Windows Type of OS Open Source Proprietary Customization High level of customization Cannot be modify Security Excellent Cannot be modify What is LILO? LILO is Linux Loader […]