Java

JAVA JDK , JRE AND JVM

     What is  JVM?   Java  Virtual  Machine  (JVM) is a  most  important  component   of the  Java  platform, which  act  as  a  Virtual Machine that  enables  the  execution  of  java  bytecode. The  JVM  act  as  an interpreter  between the  java  programming  language  and  underlying  hardware. It  provides  a  runtime  environment  for  java  applications  to 

JAVA JDK , JRE AND JVM Read More »

Java Loops

  Loops  in  java  are  control  structure  which  allow  a  set  of  instructions  or  a  block  of  code  to  be  executed  multiple  times  based  on  a  specific  condition .  Loops  are  essential  for  tasks  which  requires  iteration ,  such  as    performing  an  action  a  certain  number  of  times  or  processing  elements  in  an  array.

Java Loops Read More »

Java While Loop

    While Loop  in  Java  is  a  control  flow  statement which  executes  repeatedly a  block  of  code  as  long  as  the  boolean  condition  in  the  while  loop  remains  true .  The  while  loop  is  mostly  used  when the  number  of  iteration  is  not  known  before  and  the  loop  needs  to  be  continue  until  the

Java While Loop Read More »

Java For Loop

    Java  for  loop  is  used,  when  you  know  exactly  how  many  times  you  want   to  loop  through  a  block  of  code.        Syntax  of  For  Loop :     for ( initialization ;  condition ; increament/decrement  ) {        //code  to  be  executed  repeatedly }       initialization

Java For Loop Read More »

Decision making in Java ( if-else , switch , break , continue , jump )

    Decision  making  in  Java  include  controlling  the  flow  of  program  execution  based  on  some  conditions. A  programming  language  uses   control  statements  to  control  the  flow of  execution  of  program  based  on  certain  conditions.   Java  provides  several  control   statements  to   manage  program  flow  properly  which  include:     Conditional Statements:  if , else-if , 

Decision making in Java ( if-else , switch , break , continue , jump ) Read More »

How to Trick Your Brain Into Studying (Even When You Don’t Feel Like It)

      Sometimes  we  are  sitting at a desk, staring at a textbook, but our brain refuses to focus. Procrastination, distractions, and lack of motivation make studying feel like an uphill battle.   But what if you could make  feel your brain to  study easier, even enjoyable?   Neuroscience and behavioral psychology reveal powerful

How to Trick Your Brain Into Studying (Even When You Don’t Feel Like It) Read More »