• 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

How to readfiles in java?

November 21, 2012 by Rick Hernandez Leave a Comment

for this program i get an input from a file then i massage the data and write back out to a new file. IT worked good for having a file with data and changing it to represent something that is more usable. package teamleader; public class TeamLeader { public … [Read more...] about How to readfiles in java?

Filed Under: Java, Programming

Creating a new friend, friend list(How to) In java

November 21, 2012 by Rick Hernandez Leave a Comment

A small program that lets you 1) Add a Friend 2) Remove a Friend 3) Display all Friends 4) Exit I used some new cool things in java from creating custom classes to understanding encapsulation, data hiding, organizing parts of the program. have instances of … [Read more...] about Creating a new friend, friend list(How to) In java

Filed Under: Java, Programming

How to work with pre defined array?

November 12, 2012 by Rick Hernandez Leave a Comment

The only difference in this peace of code is that instead of an array that has a fixed size, its an array that is pre defined size. What i mean to say in simple terms is that I have created 10 shelf's to store my beautiful numbers, so shelf 0 stores 2 and shelf one … [Read more...] about How to work with pre defined array?

Filed Under: Java, Programming

How to create arrays in java?

November 12, 2012 by Rick Hernandez Leave a Comment

When working with arrays you want to think about them like a shelf you can take things in and out of them and see what they store. Arrays can be declared by different types from int to strings although int arrays get an initial value of zero so in this example i … [Read more...] about How to create arrays in java?

Filed Under: Java, Programming

Working with an enhanced for loop?

November 12, 2012 by Rick Hernandez Leave a Comment

an enhanced for loop CAN NOT change the values of a standard for loop can do, so the new and enhanced for loop is great for working with arrays that need to be read in or access for maybe lets say a list, and don't forget to pass an array to a whole … [Read more...] about Working with an enhanced for loop?

Filed Under: Java, Programming

How to work with a list of arrays?

November 7, 2012 by Rick Hernandez Leave a Comment

A list of an array is created when you explicit know the size of the array and the values that would go inside the array for example int [] iList = {5,10,15,20,25}; The first part of this array list declares the type of array list in the example it was an int, … [Read more...] about How to work with a list of arrays?

Filed Under: Java, Programming

How to work with arrays in java?

November 7, 2012 by Rick Hernandez Leave a Comment

Arrays are setup with like a coulomb or row, they can hold different type of value of values. So how do you tell java to create an array? the syntax is simple but before that what type of array would you like to create? what is going to be storing? (integers, … [Read more...] about How to work with arrays in java?

Filed Under: Java, Programming

How to find the GCD in java?

October 28, 2012 by Rick Hernandez Leave a Comment

package gcd; import java.util.Scanner; public class Gcd { public static void main (String []args) { int Number1; int Number2; Scanner input = new Scanner(System.in); System.out.println("Welcome … [Read more...] about How to find the GCD in java?

Filed Under: Java, Programming

Idea conditionals and recursion? explained to a 5 year old

October 26, 2012 by Rick Hernandez Leave a Comment

Simplification: having a gate or door, it can only open if you have the right key, the keys are == != <= >= < >, once the gate open you can get your work done. Having the gate open gives you a really neat power of calling the gate on its self? what your … [Read more...] about Idea conditionals and recursion? explained to a 5 year old

Filed Under: Java, Programming

Have you ever wanted to convert Fahrenheit to Celsius in java? Now you can!

October 24, 2012 by Rick Hernandez Leave a Comment

package temperature.conversions; import java.util.Scanner; public class TemperatureConversions { public static void main(String[] args) { double Selection; Scanner input = new Scanner(System.in); // create a … [Read more...] about Have you ever wanted to convert Fahrenheit to Celsius in java? Now you can!

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