Compound Assignment Operator

Compound assignment operator(+=,-=,*=,/=,%=,&=,|=,^=,<<=,>>=,>>>=)are a combination of the assignment operator and an another operator such as an arithmetic operator. So they are also known as Shorthand assignment operators.

 

 

Nested if statement in Java

When a complete if or if-else statement is written within another if statement, it is known as nesting of the if statement. The nested block can be within the if block or inside the else block.

Print ASCII characters in Java

 

The full form of ASCII is The American Standard Code for Information Interchange. The ASCII code includes only control characters like A-Z , a-z,special characters(>?<) etc. Computer do not understand anything(like characters) other than numbers(bits or bytes).

Program to calculate Profit or Loss percentages using java

In calculating profit percent(%) and loss percent(%) we will learn about the basic concepts of profit and loss

JSlider in Java Swing

Slider in Swing is similar to scroll bar which allows the user to select a numeric value from a specified range of integer values.

ItemListener in Java Swing

ItemEvent represents the event which is generated when a menu item is selected or deselected, checkbox item is clicked or a list item is selected.

FocusListener in Java Swing

Focus Listener is the interface which is used to receive the keyboard focus event.focusGained(gains the keyboard focus) and focusLost(loses the keyboard focus) are the two methods.

GridBag Layout in Java Swing

GridBag Layout is complex when compared to the other layouts provided in the AWT. GridBag Layout allows the user to organize components in multiple rows and columns, stretch specific rows and columns when space is available, and anchor objects in different corners.

BoxLayout in Java

BoxLayout organizes components horizontally or vertically(rows or a column) means components are placed top-to-bottom or left-to-right in the order in which they are added to the container.

 

Java Virtual Machine

Java uses both Compiler and Interpreter. Source code written in Java is compiled to generate bytecode and then this bytecode is interpreted to machine instructions for specific machine.

Page 7 of 30

About Us

Rekha SetiaRekha Setia is a passionate blogger of Extra Computer Notes. if you have any ideas or any request me @