• Skip to main content
  • Skip to primary sidebar

Founder at work

Master the skills to create and launch your next SaaS company

  • About Me
  • Reviews
  • Resources
  • Community
  • Contact
  • Lessons
  • Series
  • Search
  • Login

Java

What are interfaces in java?

October 11, 2012 by Rick Hernandez Leave a Comment

set of methods set of classes that have that set of methods be able to talk to classes with out hierarchy structure … [Read more...] about What are interfaces in java?

Filed Under: Java, Programming

What is the difference between preincrementing and postincrementing a variable?

October 2, 2012 by Rick Hernandez Leave a Comment

What is a preincrementing variable: PreIncrementing means that the variable is incrementedbefore the expression is evaluated: Example ++J What is a postincrementing variable: Postincremting means that the variable is incremented after the expression: … [Read more...] about What is the difference between preincrementing and postincrementing a variable?

Filed Under: Java, Programming

Compare and contrast the if single-selection statement and the while repetition statement?

October 2, 2012 by Rick Hernandez Leave a Comment

What is the if single-selection statement in Java: If the single selection is a statement in Java that evaluates to True or False meaning that if the statement results in True the work gets done on the true side if its evaluated false the true side gets ignored and … [Read more...] about Compare and contrast the if single-selection statement and the while repetition statement?

Filed Under: Java, Programming

What is a conditional operator in java (?:)

September 30, 2012 by Rick Hernandez Leave a Comment

(?:) smiley face with a hat that has a question also known in Java as the conditional operator what is it? The conditional operator can be a replacement of the if else statements in Java for example. (?:) ? --- means its a boolean expression meaning True or … [Read more...] about What is a conditional operator in java (?:)

Filed Under: Java, Programming

How to use switch Statement in Java?

September 27, 2012 by Rick Hernandez Leave a Comment

import javax.swing.JOptionPane; class cambien { public static void main (String [] args) { String response; response = JOptionPane.showInputDialog ("what is your age?"); if (response == null) { JOptionPane.showMessageDialog … [Read more...] about How to use switch Statement in Java?

Filed Under: Java, Programming

How to use if statement to check for empty input box in java?

September 27, 2012 by Rick Hernandez Leave a Comment

import javax.swing.JOptionPane; //imports swing class class Practice { public static void main (String [] args) { String response; //creates "respose" string response = JOptionPane.showInputDialog //assignment of response ("what is your first … [Read more...] about How to use if statement to check for empty input box in java?

Filed Under: Java, Programming

Java Program Practice with while loop

September 24, 2012 by Rick Hernandez Leave a Comment

class Test { public static void main (String [] args) { int x = 0; int y = 0; while ( x < 5 ) { y = y - x; System.out.print (x + "" + y + " "); x = x + 1; } } } … [Read more...] about Java Program Practice with while loop

Filed Under: Java, Programming

Java Program Practice

September 24, 2012 by Rick Hernandez Leave a Comment

class First { public static void main (String [] args) { int x = 3; while (x > 0) { if (x > 2) { System.out.print("a"); } x = x - 1; System.out.print("-"); if (x == 2) { … [Read more...] about Java Program Practice

Filed Under: Java

Java Data Types

September 20, 2012 by Rick Hernandez Leave a Comment

Data Types Storage Size Value Range Byte 8 bits -128 to 127 Short 16 bits -32,768 to 32,767 int 32 bits -2,147,483,648 to 2,147,483,647 long 64 bits -9.2 x 10E15 to 9.2 x 10E15 float 32 bits -3.4 x 10E38 to 3.4 x 10E38 double 64 bits -1.8 x 10E308 to … [Read more...] about Java Data Types

Filed Under: Java, Programming

what is a constant?

September 20, 2012 by Rick Hernandez Leave a Comment

Constants are very much like a variable in java. It's a placeholder in memory that holds a value that is assigned to it  but the twist here is that the value will never be changed.  Example of a constant in java. class example { public static void main … [Read more...] about what is a constant?

Filed Under: Java, Programming

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Go to Next Page »

Primary Sidebar

Learn How To Take Your Idea And Convert It Into An App From Scratch Even If You Have Never Written A Single Line Of Code.

  • How to Find Your Next Great App Idea
  • The Secret To Getting PAID To Build Your Own App
  • How To Create Your App (SaaS, Mobile, VR, AR, Game)
  • How To Monetize Your Apps
Learn More
4.82 Ratings

Copyright © 2025 · JSecademy Blog Theme on Genesis Framework · WordPress · Log in