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?
Programming
Creating a new friend, friend list(How to) In java
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
Getting to know phpMyAdmin with MySQL building a address Book.
Testing out my development environment with XAMPP, I created a HolaMundo.php file to try out my new MySQL database and some echo commands from PHP it seemed simple enough although the dollar signs are a little awkward to type. The file starts with a stage that just … [Read more...] about Getting to know phpMyAdmin with MySQL building a address Book.
How to work with forms in HTML?
<html> <head> <style> body{text-align:center; } table{ margin-left:auto; margin-right:auto; } </style> <title> Pappa Botchalims </title> </head> <body> <h1> Pappa Botchalims </h1> <form … [Read more...] about How to work with forms in HTML?
How to work with pre defined array?
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?
How to create arrays in java?
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?
Working with an enhanced for loop?
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?
How to work with a list of arrays?
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?
How to work with arrays in java?
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?
How to find the GCD in java?
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?