Domeniu: Limbaje de Programare
Conține 255 fișiere:
doc, gif, html, java, class, txt, properties, form, prefs, classpath, mf
Pagini : 8 în total
Cuvinte : 3508
Mărime: 859.23KB (arhivat)
Publicat de: Manole Pintea
Puncte necesare: 0
netbeans,eclipse;
8 laboratoare
Extras din laborator
import java.util.*;
import java.io.IOException;
public class lab1
{
public static void main(String[] args)
{
int a,i;
String s;
System.out.println("n= ");
try
{
s = System.console().readLine();
}
catch (NullPointerException e)
{
return;
}
a = Integer.parseInt(s);
for (i=a-1;i>0;i--)
{
if (perfect(i))
{
System.out.println("Numarul cautat este: "+i);
return;
}
}
System.out.println("Nu exista un numar perfect mai mic decat: "+a);
}
public static boolean perfect(int x)
{
int j,s=0;
for (j=1;j<=x/2;j++)
if (x % j == 0)
s+=j;
if (s == x)
return true;
return false;
}
}
Preview document
Conținut arhivă zip
- L1
- lab1.java
- L2
- HashTable.java
- IHashTable.java
- IIterator.java
- Nod.java
- Test.java
- L3
- bin
- exceptii
- lab3_doc
- exceptii
- ListaGoalaException.html
- package-frame.html
- package-summary.html
- package-tree.html
- lab3
- dictItem.html
- IHashTable.html
- IIterator.html
- Link.html
- package-frame.html
- package-summary.html
- package-tree.html
- Test.html
- resources
- inherit.gif
- allclasses-frame.html
- allclasses-noframe.html
- constant-values.html
- deprecated-list.html
- help-doc.html
- index-all.html
- index.html
- overview-frame.html
- overview-summary.html
- overview-tree.html
- serialized-form.html
- stylesheet.css
- ElemInexistentException.class
- lab3.gpj
- ListaGoalaException.class
- lab3
- dictItem.class
- HashTable.class
- IHashTable.class
- IIterator.class
- Link.class
- SortedList$Iterator.class
- SortedList.class
- Test.class
- src
- exceptii
- lab3_doc
- exceptii
- ListaGoalaException.html
- package-frame.html
- package-summary.html
- package-tree.html
- lab3
- dictItem.html
- IHashTable.html
- IIterator.html
- Link.html
- package-frame.html
- package-summary.html
- package-tree.html
- Test.html
- resources
- inherit.gif
- allclasses-frame.html
- allclasses-noframe.html
- constant-values.html
- deprecated-list.html
- help-doc.html
- index-all.html
- index.html
- overview-frame.html
- overview-summary.html
- overview-tree.html
- serialized-form.html
- stylesheet.css
- ElemInexistentException.class
- ElemInexistentException.java
- lab3.gpj
- ListaGoalaException.class
- ListaGoalaException.java
- lab3
- dictItem.class
- dictItem.java
- HashTable.class
- HashTable.java
- IHashTable.class
- IHashTable.java
- IIterator.class
- IIterator.java
- Link.class
- Link.java
- SortedList$Iterator.class
- SortedList.class
- SortedList.java
- Test.class
- Test.java
- .classpath
- .project
- date.txt
- dictionary.ser
- L4
- L4_beans
- build
- classes
- gestiune
- Firma.class
- Gestiune.class
- GestiuneWindow$1.class
- GestiuneWindow$2.class
- GestiuneWindow$3.class
- GestiuneWindow$4.class
- GestiuneWindow$5.class
- GestiuneWindow.class
- dist
- lib
- swing-layout-1.0.jar
- lab4.jar
- README.TXT
- nbproject
- private
- private.properties
- private.xml
- build-impl.xml
- genfiles.properties
- project.properties
- project.xml
- src
- gestiune
- Firma.java
- Gestiune.java
- GestiuneWindow.form
- GestiuneWindow.java
- build.xml
- firme.txt
- firme_mari.txt
- firme_mici.txt
- firme_mijlocii.txt
- GestiuneFirma.txt
- Lab4.txt
- manifest.mf
- L4_eclipse
- .settings
- org.eclipse.jdt.core.prefs
- bin
- gestiune
- Firma.class
- Gestiune.class
- GestiuneWindow$1.class
- GestiuneWindow$2.class
- GestiuneWindow$3.class
- GestiuneWindow$4.class
- GestiuneWindow$5.class
- GestiuneWindow.class
- GestiuneWindow.form
- swing-layout-1.0.jar
- lib
- swing-layout-1.0.jar
- src
- gestiune
- Firma.java
- Gestiune.java
- GestiuneWindow.form
- GestiuneWindow.java
- .classpath
- .project
- firme.txt
- firme_mari.txt
- firme_mici.txt
- firme_mijlocii.txt
- GestiuneFirma.txt
- Lab4.txt
- L5
- L5_beans
- build
- classes
- cls
- Cheltuieli.class
- Locatar.class
- data
- DataManager.class
- gui
- BlocWindow$1.class
- BlocWindow$ButoaneListener.class
- BlocWindow.class
- run
- Main.class
- dist
- javadoc
- cls
- class-use
- Cheltuieli.html
- Locatar.html
- Cheltuieli.html
- Locatar.html
- package-frame.html
- package-summary.html
- package-tree.html
- package-use.html
- data
- class-use
- DataManager.html
- DataManager.html
- package-frame.html
- package-summary.html
- package-tree.html
- package-use.html
- gui
- class-use
- BlocWindow.html
- BlocWindow.html
- package-frame.html
- package-summary.html
- package-tree.html
- package-use.html
- index-files
- index-1.html
- index-2.html
- index-3.html
- index-4.html
- index-5.html
- index-6.html
- index-7.html
- index-8.html
- index-9.html
- resources
- inherit.gif
- run
- class-use
- Main.html
- Main.html
- package-frame.html
- package-summary.html
- package-tree.html
- package-use.html
- allclasses-frame.html
- allclasses-noframe.html
- constant-values.html
- deprecated-list.html
- help-doc.html
- index.html
- overview-frame.html
- overview-summary.html
- overview-tree.html
- serialized-form.html
- stylesheet.css
- l5.jar
- README.TXT
- nbproject
- private
- private.properties
- private.xml
- build-impl.xml
- genfiles.properties
- project.properties
- project.xml
- src
- cls
- Cheltuieli.class
- Cheltuieli.java
- Locatar.class
- Locatar.java
- data
- DataManager.class
- DataManager.java
- gui
- BlocWindow$1.class
- BlocWindow$ButoaneListener.class
- BlocWindow.class
- BlocWindow.java
- run
- Main.class
- Main.java
- build.xml
- cheltuieli.txt
- documentatie.doc
- Lab5.txt
- locatari.txt
- manifest.mf
- P4.txt
- L5_eclipse
- .settings
- org.eclipse.jdt.core.prefs
- bin
- cls
- Cheltuieli.class
- Locatar.class
- data
- DataManager.class
- gui
- BlocWindow$1.class
- BlocWindow$ButoaneListener.class
- BlocWindow.class
- run
- Main.class
- src
- cls
- Cheltuieli.java
- Locatar.java
- data
- DataManager.java
- gui
- BlocWindow.java
- run
- Main.java
- .classpath
- .project
- cheltuieli.txt
- Lab5.txt
- locatari.txt
- P4.txt
- L6
- L6_beans
- build
- classes
- cls
- Curs.class
- Rezultat.class
- Student.class
- data
- DataManager.class
- gui
- MainWindow$1.class
- MainWindow$2.class
- MainWindow.class
- SecretaraWindow$1.class
- SecretaraWindow$2.class
- SecretaraWindow$3.class
- SecretaraWindow.class
- StudentWindow$1.class
- StudentWindow.class
- run
- Main.class
- dist
- lib
- swing-layout-1.0.jar
- l6.jar
- README.TXT
- nbproject
- private
- private.properties
- private.xml
- build-impl.xml
- genfiles.properties
- project.properties
- project.xml
- src
- cls
- Curs.java
- Rezultat.java
- Student.java
- data
- DataManager.java
- gui
- MainWindow.form
- MainWindow.java
- SecretaraWindow.form
- SecretaraWindow.java
- StudentWindow.form
- StudentWindow.java
- run
- Main.java
- build.xml
- cursuri.txt
- documentatie.doc
- Lab6.txt
- manifest.mf
- P2.txt
- rezultate.txt
- studenti.txt
- L6_eclipse
- .settings
- org.eclipse.jdt.core.prefs
- bin
- cls
- Curs.class
- Rezultat.class
- Student.class
- data
- DataManager.class
- gui
- MainWindow$1.class
- MainWindow$2.class
- MainWindow.class
- MainWindow.form
- SecretaraWindow$1.class
- SecretaraWindow$2.class
- SecretaraWindow$3.class
- SecretaraWindow.class
- SecretaraWindow.form
- StudentWindow$1.class
- StudentWindow.class
- StudentWindow.form
- run
- Main.class
- lib
- swing-layout-1.0.jar
- src
- cls
- Curs.java
- Rezultat.java
- Student.java
- data
- DataManager.java
- gui
- MainWindow.form
- MainWindow.java
- SecretaraWindow.form
- SecretaraWindow.java
- StudentWindow.form
- StudentWindow.java
- run
- Main.java
- .classpath
- .project
- Lab6.txt
- P2.txt
- L7
- Lab7.txt
- Pr4.txt
- L8
- L8_beans
- build
- classes
- cls
- Curs.class
- Rezultat.class
- Student.class
- data
- DataManager.class
- gui
- MainWindow$1.class
- MainWindow$2.class
- MainWindow$3.class
- MainWindow.class
- SecretaraWindow$1.class
- SecretaraWindow$2.class
- SecretaraWindow$3.class
- SecretaraWindow.class
- StatisticaWindow.class
- StudentWindow$1.class
- StudentWindow.class
- run
- Main.class
- dist
- lib
- swing-layout-1.0.jar
- l8.jar
- README.TXT
- nbproject
- private
- private.properties
- private.xml
- build-impl.xml
- genfiles.properties
- project.properties
- project.xml
- src
- cls
- Curs.java
- Rezultat.java
- Student.java
- data
- DataManager.java
- gui
- MainWindow.form
- MainWindow.java
- SecretaraWindow.form
- SecretaraWindow.java
- StatisticaWindow.form
- StatisticaWindow.java
- StudentWindow.form
- StudentWindow.java
- run
- Main.java
- build.xml
- cursuri.txt
- Lab8.txt
- manifest.mf
- P2.txt
- rezultate.txt
- studenti.txt
- L8_eclipse
- .settings
- org.eclipse.jdt.core.prefs
- bin
- cls
- Curs.class
- Rezultat.class
- Student.class
- data
- DataManager.class
- gui
- MainWindow$1.class
- MainWindow$2.class
- MainWindow$3.class
- MainWindow.class
- MainWindow.form
- SecretaraWindow$1.class
- SecretaraWindow$2.class
- SecretaraWindow$3.class
- SecretaraWindow.class
- SecretaraWindow.form
- StatisticaWindow.class
- StatisticaWindow.form
- StudentWindow$1.class
- StudentWindow.class
- StudentWindow.form
- run
- Main.class
- lib
- swing-layout-1.0.jar
- src
- cls
- Curs.java
- Rezultat.java
- Student.java
- data
- DataManager.java
- gui
- MainWindow.form
- MainWindow.java
- SecretaraWindow.form
- SecretaraWindow.java
- StatisticaWindow.form
- StatisticaWindow.java
- StudentWindow.form
- StudentWindow.java
- run
- Main.java
- .classpath
- .project
- cursuri.txt
- Lab8.txt
- P2.txt
- rezultate.txt
- studenti.txt