Java Training Day 05 | Java Full Course | Coding Skills



Published
This is 5th day of Java Training and in this video, you will learn following topics along with example programs for each topic that is being discussed.
---------------------------------------------------------------------------------
Day-05:-
---------------------------------------------------------------------------------
Sum of numbers using Command Line arguments
Access Specifiers
Default
public
private
protected
Control Statements
if, switch,
Other Packages
Same Same Sub Direct
Class Package Class Way
---------------------------------------------------------------------------------
public Y Y Y Y
protected Y Y Y X
default Y Y X X
private Y X X X

if syntax:-

if (condition(s))
{
}

if (condition(s))
{
}
else
{
}

if (condition(s))
{
}
else if (condition(s))
{
}
else if (condition(s))
{
}
...
...
else
{
}

switch syntax:-

switch(expression or variable)
{
case 1:
statements;
break;
case 2:
statements;
break;
...
...
default:
}
---------------------------------------------------------------------------------

Please like the video and share it with your friends, also subscribe to the channel for latest updates... Thank You
Category
Job
Be the first to comment