diff --git a/.gitignore b/.gitignore
index 0f19428..99b0d51 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-/1401417003_KalinDimov/NewProject/nbproject/private/
-/1401417003_KalinDimov/NewProject/build/
\ No newline at end of file
+/1401417015 AngelFlag/*/nbproject/
+/1401417015 AngelFlag/*/build/
\ No newline at end of file
diff --git a/0000000000_StoyanCheresharov/ArrayList2/nbproject/build-impl.xml b/0000000000_StoyanCheresharov/ArrayList2/nbproject/build-impl.xml
deleted file mode 100644
index 5a318ad..0000000
--- a/0000000000_StoyanCheresharov/ArrayList2/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1413 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No tests executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
- Must select some files in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
- Must select one file in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/ArrayList2/nbproject/genfiles.properties b/0000000000_StoyanCheresharov/ArrayList2/nbproject/genfiles.properties
deleted file mode 100644
index 7692b60..0000000
--- a/0000000000_StoyanCheresharov/ArrayList2/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=48bad013
-build.xml.script.CRC32=42a30cd0
-build.xml.stylesheet.CRC32=8064a381@1.74.2.48
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=48bad013
-nbproject/build-impl.xml.script.CRC32=ee603072
-nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
diff --git a/0000000000_StoyanCheresharov/ArrayList2/nbproject/project.properties b/0000000000_StoyanCheresharov/ArrayList2/nbproject/project.properties
deleted file mode 100644
index 0cfae5e..0000000
--- a/0000000000_StoyanCheresharov/ArrayList2/nbproject/project.properties
+++ /dev/null
@@ -1,73 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.processor.options=
-annotation.processing.processors.list=
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/ArrayList2.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-excludes=
-includes=**
-jar.compress=false
-javac.classpath=
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.7
-javac.target=1.7
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=arraylist2.ArrayList2
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project.
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
-# To set system properties for unit tests define test-sys-prop.name=value:
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/0000000000_StoyanCheresharov/ArrayList2/nbproject/project.xml b/0000000000_StoyanCheresharov/ArrayList2/nbproject/project.xml
deleted file mode 100644
index 2368655..0000000
--- a/0000000000_StoyanCheresharov/ArrayList2/nbproject/project.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- ArrayList2
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/ArrayList2/src/arraylist2/ArrayList2.java b/0000000000_StoyanCheresharov/ArrayList2/src/arraylist2/ArrayList2.java
deleted file mode 100644
index 0a415be..0000000
--- a/0000000000_StoyanCheresharov/ArrayList2/src/arraylist2/ArrayList2.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package arraylist2;
-import java.util.ArrayList;
-import java.util.Iterator;
-
-/**
- *
- * @author fmi
- */
-public class ArrayList2 {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- ArrayList listTest = new ArrayList();
- // ArrayList listTest = new ArrayList();
- // You can only add objects, however
- listTest.add( "first item" );
- listTest.add( "second item" );
- listTest.add( "third item" );
- listTest.add( 7 );
-
- // To go through each item in your ArrayList you can set up something called an Iterator.
- Iterator it = listTest.iterator( );
-
- while ( it.hasNext( ) ) {
- System.out.println( it.next( ) );
- }
-
-// You can also remove items from an ArrayList.
- listTest.remove(2);
-
- // Or you can use the value on the list:
- listTest.remove( "second item" );
-
- // to print the whole list
- System.out.println("Whole list = " + listTest);
-
- // System.out.println("Position 1 = " + listTest(1));
- }
-
-}
diff --git a/0000000000_StoyanCheresharov/DataTypes/nbproject/build-impl.xml b/0000000000_StoyanCheresharov/DataTypes/nbproject/build-impl.xml
deleted file mode 100644
index 535915d..0000000
--- a/0000000000_StoyanCheresharov/DataTypes/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1413 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No tests executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
- Must select some files in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
- Must select one file in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/DataTypes/nbproject/genfiles.properties b/0000000000_StoyanCheresharov/DataTypes/nbproject/genfiles.properties
deleted file mode 100644
index 6c8c49d..0000000
--- a/0000000000_StoyanCheresharov/DataTypes/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=9e8d37f9
-build.xml.script.CRC32=1e2538d6
-build.xml.stylesheet.CRC32=8064a381@1.74.2.48
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=9e8d37f9
-nbproject/build-impl.xml.script.CRC32=f13040d9
-nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
diff --git a/0000000000_StoyanCheresharov/DataTypes/nbproject/project.properties b/0000000000_StoyanCheresharov/DataTypes/nbproject/project.properties
deleted file mode 100644
index b1d26af..0000000
--- a/0000000000_StoyanCheresharov/DataTypes/nbproject/project.properties
+++ /dev/null
@@ -1,75 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.processors.list=
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-application.title=DataTypes
-application.vendor=fmi
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/DataTypes.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-endorsed.classpath=
-excludes=
-includes=**
-jar.compress=false
-javac.classpath=
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.7
-javac.target=1.7
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=datatypes.DataTypes
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project.
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
-# To set system properties for unit tests define test-sys-prop.name=value:
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/0000000000_StoyanCheresharov/DataTypes/nbproject/project.xml b/0000000000_StoyanCheresharov/DataTypes/nbproject/project.xml
deleted file mode 100644
index 1bcd39c..0000000
--- a/0000000000_StoyanCheresharov/DataTypes/nbproject/project.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- DataTypes
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/ErrorHandling/build.xml b/0000000000_StoyanCheresharov/ErrorHandling/build.xml
deleted file mode 100644
index 9627503..0000000
--- a/0000000000_StoyanCheresharov/ErrorHandling/build.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project ErrorHandling.
-
-
-
diff --git a/0000000000_StoyanCheresharov/ErrorHandling/nbproject/build-impl.xml b/0000000000_StoyanCheresharov/ErrorHandling/nbproject/build-impl.xml
deleted file mode 100644
index f4110ac..0000000
--- a/0000000000_StoyanCheresharov/ErrorHandling/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1413 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No tests executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
- Must select some files in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
- Must select one file in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/ErrorHandling/nbproject/genfiles.properties b/0000000000_StoyanCheresharov/ErrorHandling/nbproject/genfiles.properties
deleted file mode 100644
index bf96744..0000000
--- a/0000000000_StoyanCheresharov/ErrorHandling/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=d9cc885d
-build.xml.script.CRC32=f948bd3d
-build.xml.stylesheet.CRC32=8064a381@1.74.2.48
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=d9cc885d
-nbproject/build-impl.xml.script.CRC32=59487c23
-nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
diff --git a/0000000000_StoyanCheresharov/ErrorHandling/nbproject/project.properties b/0000000000_StoyanCheresharov/ErrorHandling/nbproject/project.properties
deleted file mode 100644
index 67090fe..0000000
--- a/0000000000_StoyanCheresharov/ErrorHandling/nbproject/project.properties
+++ /dev/null
@@ -1,73 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.processor.options=
-annotation.processing.processors.list=
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/ErrorHandling.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-excludes=
-includes=**
-jar.compress=false
-javac.classpath=
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.7
-javac.target=1.7
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=errorhandling.ErrorHandling
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project.
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
-# To set system properties for unit tests define test-sys-prop.name=value:
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/0000000000_StoyanCheresharov/ErrorHandling/nbproject/project.xml b/0000000000_StoyanCheresharov/ErrorHandling/nbproject/project.xml
deleted file mode 100644
index 9ab340e..0000000
--- a/0000000000_StoyanCheresharov/ErrorHandling/nbproject/project.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- ErrorHandling
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/ErrorHandling/src/errorhandling/ErrorHandling.java b/0000000000_StoyanCheresharov/ErrorHandling/src/errorhandling/ErrorHandling.java
deleted file mode 100644
index ac6067d..0000000
--- a/0000000000_StoyanCheresharov/ErrorHandling/src/errorhandling/ErrorHandling.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package errorhandling;
-
-/**
- *
- * @author fmi
- */
-public class ErrorHandling {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- try {
- // int a = 10;
- // int b = 0;
- // int z = a/b;
-
- double a = 10;
- double b = 0;
- double z = a/b;
-
- System.out.println(z);
- }
- // catch (Exception err) { // catch all
- catch ( ArithmeticException err) { // narrowing down the type of error you expect
- System.out.println(err.getMessage());
- }
- }
-
-}
diff --git a/0000000000_StoyanCheresharov/ReadWrite/manifest.mf b/0000000000_StoyanCheresharov/ReadWrite/manifest.mf
deleted file mode 100644
index 1574df4..0000000
--- a/0000000000_StoyanCheresharov/ReadWrite/manifest.mf
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
diff --git a/0000000000_StoyanCheresharov/ReadWrite/nbproject/build-impl.xml b/0000000000_StoyanCheresharov/ReadWrite/nbproject/build-impl.xml
deleted file mode 100644
index 73a11a9..0000000
--- a/0000000000_StoyanCheresharov/ReadWrite/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1413 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No tests executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
- Must select some files in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
- Must select one file in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/ReadWrite/nbproject/genfiles.properties b/0000000000_StoyanCheresharov/ReadWrite/nbproject/genfiles.properties
deleted file mode 100644
index 393f8a7..0000000
--- a/0000000000_StoyanCheresharov/ReadWrite/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=412c7aed
-build.xml.script.CRC32=89341e80
-build.xml.stylesheet.CRC32=8064a381@1.74.2.48
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=412c7aed
-nbproject/build-impl.xml.script.CRC32=61b5bea3
-nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
diff --git a/0000000000_StoyanCheresharov/ReadWrite/nbproject/project.properties b/0000000000_StoyanCheresharov/ReadWrite/nbproject/project.properties
deleted file mode 100644
index f0e2e41..0000000
--- a/0000000000_StoyanCheresharov/ReadWrite/nbproject/project.properties
+++ /dev/null
@@ -1,73 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.processor.options=
-annotation.processing.processors.list=
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/ReadWrite.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-excludes=
-includes=**
-jar.compress=false
-javac.classpath=
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.7
-javac.target=1.7
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=readwrite.ReadWrite
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project.
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
-# To set system properties for unit tests define test-sys-prop.name=value:
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/0000000000_StoyanCheresharov/ReadWrite/nbproject/project.xml b/0000000000_StoyanCheresharov/ReadWrite/nbproject/project.xml
deleted file mode 100644
index 18eb807..0000000
--- a/0000000000_StoyanCheresharov/ReadWrite/nbproject/project.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- ReadWrite
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/ReadWrite/src/readwrite/ReadWrite.java b/0000000000_StoyanCheresharov/ReadWrite/src/readwrite/ReadWrite.java
deleted file mode 100644
index 2414cdd..0000000
--- a/0000000000_StoyanCheresharov/ReadWrite/src/readwrite/ReadWrite.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package readwrite;
-
-import java.io.IOException;
-import java.io.FileReader;
-import java.io.BufferedReader;
-import java.io.FileWriter;
-import java.io.PrintWriter;
-
-/**
- *
- * @author fmi
- */
-public class ReadWrite {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- try
- {
- writeToFile("C:\\Users\\fmi\\test.txt", "Another line", true );
-
-
- String[] result = readFile("C:\\Users\\fmi\\test.txt");
- for (String row : result) {
- System.out.println(row);
- }
-
-
- }
- catch(IOException e)
- {
- System.out.println(e.getMessage());
- }
- }
-
- public static String[] readFile(String path) throws IOException
- {
- // String path = "c:\\test.txt";
- // This reads bytes from a text file, and each byte is a single character
- FileReader fr = new FileReader(path);
-
- // You can read whole lines of text, rather than single characters.
- // To do this, you can hand your FileReader over to something called a BufferedReader
- BufferedReader textReader = new BufferedReader(fr);
-
- // first variant
- // int numberOfLines = 3; // hard code the number of lines
- // int numberOfLines = 3; // readLines();
- int numberOfLines = readLines(path);
- String[ ] textData = new String[numberOfLines];
-
- int i;
-
- for (i=0; i < numberOfLines; i++) {
- textData[ i ] = textReader.readLine();
- }
-
- textReader.close( );
-
- return textData;
- }
-
- public static int readLines(String path) throws IOException {
- // This reads bytes from a text file, and each byte is a single character
- FileReader fr = new FileReader(path);
- BufferedReader textReader = new BufferedReader(fr);
-
- String aLine;
- int numberOfLines = 0;
-
- while ((aLine = textReader.readLine()) != null) {
- numberOfLines++;
- }
-
- textReader.close();
-
- return numberOfLines;
- }
-
- public static void writeToFile(String path, String textLine, Boolean appendToFile ) throws IOException {
- // The FileWriter write bytString pathes
- FileWriter write = new FileWriter( path , appendToFile);
- // But we can hand the FileWriter plain text with the aid of the PrintWriter class
- PrintWriter printLine = new PrintWriter( write );
-
- printLine.printf( "%s" + "%n" , textLine);
-
- // This line closes the text file and frees up any resources it was using
- printLine.close( );
- }
-
-}
diff --git a/0000000000_StoyanCheresharov/StackTrace/manifest.mf b/0000000000_StoyanCheresharov/StackTrace/manifest.mf
deleted file mode 100644
index 1574df4..0000000
--- a/0000000000_StoyanCheresharov/StackTrace/manifest.mf
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
diff --git a/0000000000_StoyanCheresharov/StackTrace/nbproject/build-impl.xml b/0000000000_StoyanCheresharov/StackTrace/nbproject/build-impl.xml
deleted file mode 100644
index 03372a5..0000000
--- a/0000000000_StoyanCheresharov/StackTrace/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1413 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No tests executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
- Must select some files in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
- Must select one file in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/StackTrace/nbproject/genfiles.properties b/0000000000_StoyanCheresharov/StackTrace/nbproject/genfiles.properties
deleted file mode 100644
index 787a6fb..0000000
--- a/0000000000_StoyanCheresharov/StackTrace/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=a28d3a65
-build.xml.script.CRC32=42b4018a
-build.xml.stylesheet.CRC32=8064a381@1.74.2.48
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=a28d3a65
-nbproject/build-impl.xml.script.CRC32=eb28ecdf
-nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
diff --git a/0000000000_StoyanCheresharov/StackTrace/nbproject/project.properties b/0000000000_StoyanCheresharov/StackTrace/nbproject/project.properties
deleted file mode 100644
index 81f8a6f..0000000
--- a/0000000000_StoyanCheresharov/StackTrace/nbproject/project.properties
+++ /dev/null
@@ -1,73 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.processor.options=
-annotation.processing.processors.list=
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/StackTrace.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-excludes=
-includes=**
-jar.compress=false
-javac.classpath=
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.7
-javac.target=1.7
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=stacktrace.StackTrace
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project.
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
-# To set system properties for unit tests define test-sys-prop.name=value:
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/0000000000_StoyanCheresharov/StackTrace/nbproject/project.xml b/0000000000_StoyanCheresharov/StackTrace/nbproject/project.xml
deleted file mode 100644
index b705548..0000000
--- a/0000000000_StoyanCheresharov/StackTrace/nbproject/project.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- StackTrace
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/StackTrace/src/stacktrace/StackTrace.java b/0000000000_StoyanCheresharov/StackTrace/src/stacktrace/StackTrace.java
deleted file mode 100644
index ccab694..0000000
--- a/0000000000_StoyanCheresharov/StackTrace/src/stacktrace/StackTrace.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package stacktrace;
-
-/**
- *
- * @author fmi
- */
-public class StackTrace {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- System.out.println("Start main");
- m1();
- System.out.println("End main");
- }
-
- public static void m1() {
- System.out.println("second method m1");
- m2();
- }
-
- public static void m2() {
- System.out.println("last method m2");
- try {
- // start with this
- // int x = 10;
- // int y = 0;
- // int z = x / y;
-
- // second step change the code to double
- double x = 10.0;
- double y = 0.0;
- double z = x / y;
- System.out.println( z );
- }
- // catch ( Exception err ) { // "catch all"
- catch ( ArithmeticException err) { // narrowing down the type of error you expect
- System.out.println( err.getMessage( ) ); // / by zero, second Infinity
- }
- }
-}
diff --git a/0000000000_StoyanCheresharov/StringArrays/manifest.mf b/0000000000_StoyanCheresharov/StringArrays/manifest.mf
deleted file mode 100644
index 1574df4..0000000
--- a/0000000000_StoyanCheresharov/StringArrays/manifest.mf
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
diff --git a/0000000000_StoyanCheresharov/StringArrays/nbproject/build-impl.xml b/0000000000_StoyanCheresharov/StringArrays/nbproject/build-impl.xml
deleted file mode 100644
index 4b3a03b..0000000
--- a/0000000000_StoyanCheresharov/StringArrays/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1413 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No tests executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
- Must select some files in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
- Must select one file in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/StringArrays/nbproject/genfiles.properties b/0000000000_StoyanCheresharov/StringArrays/nbproject/genfiles.properties
deleted file mode 100644
index bcfe07b..0000000
--- a/0000000000_StoyanCheresharov/StringArrays/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=fd86cddd
-build.xml.script.CRC32=bb9175a2
-build.xml.stylesheet.CRC32=8064a381@1.74.2.48
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=fd86cddd
-nbproject/build-impl.xml.script.CRC32=5c8da1f1
-nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
diff --git a/0000000000_StoyanCheresharov/StringArrays/nbproject/project.properties b/0000000000_StoyanCheresharov/StringArrays/nbproject/project.properties
deleted file mode 100644
index 81eed91..0000000
--- a/0000000000_StoyanCheresharov/StringArrays/nbproject/project.properties
+++ /dev/null
@@ -1,73 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.processor.options=
-annotation.processing.processors.list=
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/StringArrays.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-excludes=
-includes=**
-jar.compress=false
-javac.classpath=
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.7
-javac.target=1.7
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=stringarrays.StringArrays
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project.
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
-# To set system properties for unit tests define test-sys-prop.name=value:
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/0000000000_StoyanCheresharov/StringArrays/nbproject/project.xml b/0000000000_StoyanCheresharov/StringArrays/nbproject/project.xml
deleted file mode 100644
index d086006..0000000
--- a/0000000000_StoyanCheresharov/StringArrays/nbproject/project.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- StringArrays
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/StringArrays/src/stringarrays/StringArrays.java b/0000000000_StoyanCheresharov/StringArrays/src/stringarrays/StringArrays.java
deleted file mode 100644
index 0e4e43f..0000000
--- a/0000000000_StoyanCheresharov/StringArrays/src/stringarrays/StringArrays.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package stringarrays;
-
-import java.util.Arrays;
-
-/**
- *
- * @author fmi
- */
-public class StringArrays {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- // This tells Java to set up a string object with the four characters "B", "i", "l" and another "l". In the Unicode character set, these values are: \u0042, \u0069, \u006c, \u006c. Unicode values are stored as hexadecimals numbers. Capital letters (A to Z) are stored using the values \u0041 to \u005a, while lowercase letters (a to z) are stored using the hexadecimals values \u0061 to \u007a.
- String someText = "Bill";
-
- String[ ] aryString = new String[5] ;
-
- aryString[0] = "This";
- aryString[1] = "is";
- aryString[2] = "a";
- aryString[3] = "string";
- aryString[4] = "array";
-
- Arrays.sort(aryString);
-
- // We noted that the word "This" comes first.
- // If the array is supposed to be sorted alphabetically,
- // however, you would expect the word "a" to come first.
- // The reason it doesn't is because lowercase "a"
- // has a hexadecimal value of u\0061, which is the decimal
- // number 97. But uppercase "T" has a hexadecimal value of u\0054,
- // which is the decimal number 84. 84 is lower than 97, so the "T" comes first.
- int i;
- for ( i=0; i < aryString.length; i++ ) {
- System.out.println( aryString[i] );
- }
- }
-
-}
diff --git a/0000000000_StoyanCheresharov/StringManipulation/build.xml b/0000000000_StoyanCheresharov/StringManipulation/build.xml
deleted file mode 100644
index a527cd2..0000000
--- a/0000000000_StoyanCheresharov/StringManipulation/build.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project StringManipulation.
-
-
-
diff --git a/0000000000_StoyanCheresharov/StringManipulation/manifest.mf b/0000000000_StoyanCheresharov/StringManipulation/manifest.mf
deleted file mode 100644
index 1574df4..0000000
--- a/0000000000_StoyanCheresharov/StringManipulation/manifest.mf
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
diff --git a/0000000000_StoyanCheresharov/StringManipulation/nbproject/build-impl.xml b/0000000000_StoyanCheresharov/StringManipulation/nbproject/build-impl.xml
deleted file mode 100644
index d8c0520..0000000
--- a/0000000000_StoyanCheresharov/StringManipulation/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1413 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No tests executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
- Must select some files in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
- Must select one file in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/StringManipulation/nbproject/genfiles.properties b/0000000000_StoyanCheresharov/StringManipulation/nbproject/genfiles.properties
deleted file mode 100644
index aecb4f9..0000000
--- a/0000000000_StoyanCheresharov/StringManipulation/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=701a5f77
-build.xml.script.CRC32=956c972b
-build.xml.stylesheet.CRC32=8064a381@1.74.2.48
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=701a5f77
-nbproject/build-impl.xml.script.CRC32=94a6a1a1
-nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
diff --git a/0000000000_StoyanCheresharov/StringManipulation/nbproject/project.properties b/0000000000_StoyanCheresharov/StringManipulation/nbproject/project.properties
deleted file mode 100644
index 050627c..0000000
--- a/0000000000_StoyanCheresharov/StringManipulation/nbproject/project.properties
+++ /dev/null
@@ -1,73 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.processor.options=
-annotation.processing.processors.list=
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/StringManipulation.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-excludes=
-includes=**
-jar.compress=false
-javac.classpath=
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.7
-javac.target=1.7
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=stringmanipulation.StringManipulation
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project.
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
-# To set system properties for unit tests define test-sys-prop.name=value:
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/0000000000_StoyanCheresharov/StringManipulation/nbproject/project.xml b/0000000000_StoyanCheresharov/StringManipulation/nbproject/project.xml
deleted file mode 100644
index 06fcd9b..0000000
--- a/0000000000_StoyanCheresharov/StringManipulation/nbproject/project.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- StringManipulation
-
-
-
-
-
-
-
-
-
diff --git a/0000000000_StoyanCheresharov/StringManipulation/src/stringmanipulation/StringManipulation.java b/0000000000_StoyanCheresharov/StringManipulation/src/stringmanipulation/StringManipulation.java
deleted file mode 100644
index 83089f1..0000000
--- a/0000000000_StoyanCheresharov/StringManipulation/src/stringmanipulation/StringManipulation.java
+++ /dev/null
@@ -1,137 +0,0 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package stringmanipulation;
-
-/**
- *
- * @author fmi
- */
-public class StringManipulation {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- /*
- // TODO code application logic here
- String changeCase = "Text to Change";
- System.out.println(changeCase);
- // immutable we produce new strings we don't change the existing
- String result;
- result = changeCase.toUpperCase();
- System.out.println(result);
-
- System.out.println( result.toLowerCase( ) );
- */
- /*
- int result;
- String word1 = "Ape";
- String word2 = "App";
-
- result = word1.compareTo(word2);
-
- if (result < 0) {
- System.out.println("word1 is less than word2");
- }
- else if (result > 0) {
- System.out.println("word1 is more than word2");
- }
- else if ( result == 0) {
- System.out.println("the same words");
- }
- */
- /*
- // indexOf
- // String ampersand = ".com"; // '@'; // or use a string
- char ampersand = '@';
- String email = "stoyan@hotmail.com";
- int result = email.indexOf(ampersand);
-
- if (result == -1) {
- System.out.println("@ is missing in the string");
- }
- else {
- System.out.println("email is OK result = " + result);
- }
- // start position
- int startPosition = 7;
- result = email.indexOf(ampersand, startPosition);
- System.out.println("start position result = " + result);
-
-
- //
- String dotcom = ".com";
- Boolean ending = email.endsWith( dotcom );
-
- if (ending == false ) {
- System.out.println( "Invalid Email Address" );
- }
- else {
- System.out.println( "Email Address OK endsWith .com" );
- }
-
- Boolean startVal = email.startsWith( dotcom );
-
- */
- /*
- // Substring
- String FullName = "Bill Gates";
- String FirstNameChars = "";
- // This means start grabbing characters at position 0 in the string, eans the position in the string that you want to end at
- FirstNameChars = FullName.substring( 0, 2 );
-
- System.out.println( FirstNameChars );
-
- // Now, Java will start at character two in the string FirstName, and then grab the characters from position 2 right to the end of the string.
- String test = FullName.substring( 2 );
- System.out.println( test );
- */
- /*
- // !!!!!! == != DON'T DO IT
- // You can check two strings to see if they are the same. For this, use the equals method in Java.
- String email1 = "stoyan@hotmail.com";
- String email2 = "stoyan@hotmail.com";
- Boolean isMatch = false;
-
- isMatch = email1.equals(email2);
-
- System.out.println( isMatch );
- */
- /*
- String email = "meme@me.com";
-
- char aChar = email.charAt( 4 );
- System.out.println( aChar );
- */
- /*
- // replaces strings or chars
- String aString = "Did you take you,books";
- String correct = aString.replace("you", "your");
- // aString.replace( '?', '@' )
- System.out.println( correct );
-
-
- String[] arrayString = aString.split("[ ,.]");
- for (int i = 0; i < arrayString.length; i++) {
- System.out.println(arrayString[i]);
- }
- */
-
- /*
- String amend = " white space ";
- System.out.println(amend);
- amend = amend.trim( );
- System.out.println(amend);
- */
-
- String heading1 = "Exam_Name";
- String heading2 = "Exam_Grade";
-
- System.out.printf( "%-15s %15s %n", heading1, heading2);
- }
-
-}
diff --git a/1401417003_KalinDimov/NewProject/manifest.mf b/1401417003_KalinDimov/NewProject/manifest.mf
deleted file mode 100644
index 1574df4..0000000
--- a/1401417003_KalinDimov/NewProject/manifest.mf
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
diff --git a/1401417003_KalinDimov/NewProject/nbproject/build-impl.xml b/1401417003_KalinDimov/NewProject/nbproject/build-impl.xml
deleted file mode 100644
index 7916ce9..0000000
--- a/1401417003_KalinDimov/NewProject/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1413 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No tests executed.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
- This target only works when run from inside the NetBeans IDE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
- Must select some files in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
- Must select one file in the IDE or set test.class
- Must select some method in the IDE or set test.method
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/1401417003_KalinDimov/NewProject/nbproject/genfiles.properties b/1401417003_KalinDimov/NewProject/nbproject/genfiles.properties
deleted file mode 100644
index 63c62a1..0000000
--- a/1401417003_KalinDimov/NewProject/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=ec08ae59
-build.xml.script.CRC32=98245e40
-build.xml.stylesheet.CRC32=8064a381@1.74.2.48
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=ec08ae59
-nbproject/build-impl.xml.script.CRC32=33b1586f
-nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.74.2.48
diff --git a/1401417003_KalinDimov/NewProject/nbproject/project.properties b/1401417003_KalinDimov/NewProject/nbproject/project.properties
deleted file mode 100644
index 3a321d8..0000000
--- a/1401417003_KalinDimov/NewProject/nbproject/project.properties
+++ /dev/null
@@ -1,73 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.processor.options=
-annotation.processing.processors.list=
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# Files in build.classes.dir which should be excluded from distribution jar
-dist.archive.excludes=
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/NewProject.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-excludes=
-includes=**
-jar.compress=false
-javac.classpath=
-# Space-separated list of extra javac options
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.7
-javac.target=1.7
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=newproject.NewProject
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project.
-# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
-# To set system properties for unit tests define test-sys-prop.name=value:
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/1401417003_KalinDimov/NewProject/nbproject/project.xml b/1401417003_KalinDimov/NewProject/nbproject/project.xml
deleted file mode 100644
index fbd918c..0000000
--- a/1401417003_KalinDimov/NewProject/nbproject/project.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- NewProject
-
-
-
-
-
-
-
-
-
diff --git a/1401417015 AngelFlag/2_1/build.xml b/1401417015 AngelFlag/2_1/build.xml
new file mode 100644
index 0000000..af0cda8
--- /dev/null
+++ b/1401417015 AngelFlag/2_1/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project 2_1.
+
+
+
diff --git a/0000000000_StoyanCheresharov/DataTypes/manifest.mf b/1401417015 AngelFlag/2_1/manifest.mf
similarity index 96%
rename from 0000000000_StoyanCheresharov/DataTypes/manifest.mf
rename to 1401417015 AngelFlag/2_1/manifest.mf
index 1574df4..328e8e5 100644
--- a/0000000000_StoyanCheresharov/DataTypes/manifest.mf
+++ b/1401417015 AngelFlag/2_1/manifest.mf
@@ -1,3 +1,3 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/2_1/src/pkg2_1/Main.java b/1401417015 AngelFlag/2_1/src/pkg2_1/Main.java
new file mode 100644
index 0000000..df769a9
--- /dev/null
+++ b/1401417015 AngelFlag/2_1/src/pkg2_1/Main.java
@@ -0,0 +1,59 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package pkg2_1;
+/**
+ *
+ * @author THE NET
+ */
+public class Main {
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+
+ for (int i = 1; i<10; i++){
+
+ System.out.println(i);
+ }
+ }
+}
+
+
+
+// int i = 10;
+// while (i<50){
+// i = i*2;
+// System.out.println(i);
+
+//
+// for(int i=0; i<100; i++){
+// System.out.println(i);
+// }
+
+// int zdravei= 1;
+// String zdrastiKak = "zdraveee";
+// String alyori = Integer.toString(zdravei);
+// System.out.println(zdravei);
+// zdrastiKak+=alyori;
+// System.out.println(zdrastiKak);
+////}
+// int i=0;
+// while(i<=5)
+// {
+// System.out.println(i);
+// i= i+1;
+//// TODO code application logic here
+// }
+//
+// int a=0;
+// do{
+// System.out.println(a++);
+// }
+// while(a<=5);
+//}
+//}
+//
diff --git a/1401417015 AngelFlag/Calculator!/build.xml b/1401417015 AngelFlag/Calculator!/build.xml
new file mode 100644
index 0000000..8ddfad5
--- /dev/null
+++ b/1401417015 AngelFlag/Calculator!/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Calculator!.
+
+
+
diff --git a/1401417015 AngelFlag/Darek11/build.xml b/1401417015 AngelFlag/Darek11/build.xml
new file mode 100644
index 0000000..68f7d50
--- /dev/null
+++ b/1401417015 AngelFlag/Darek11/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Darek11.
+
+
+
diff --git a/0000000000_StoyanCheresharov/ArrayList2/manifest.mf b/1401417015 AngelFlag/Darek11/manifest.mf
similarity index 96%
rename from 0000000000_StoyanCheresharov/ArrayList2/manifest.mf
rename to 1401417015 AngelFlag/Darek11/manifest.mf
index 1574df4..328e8e5 100644
--- a/0000000000_StoyanCheresharov/ArrayList2/manifest.mf
+++ b/1401417015 AngelFlag/Darek11/manifest.mf
@@ -1,3 +1,3 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Darek11/src/darek11/Darek11.java b/1401417015 AngelFlag/Darek11/src/darek11/Darek11.java
new file mode 100644
index 0000000..e54da5d
--- /dev/null
+++ b/1401417015 AngelFlag/Darek11/src/darek11/Darek11.java
@@ -0,0 +1,93 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek11;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.Arrays;
+
+public class Darek11 {
+
+ public static void main(String[] args) {
+ ArrayList arrayListOne;
+ arrayListOne = new ArrayList();
+
+ //ArrayList arrayListTwo = new ArrayList();
+
+ ArrayList names = new ArrayList();
+ names.add("John Smith");
+ names.add("Angel Ivanov");
+ names.add("Oliver Miller");
+
+ names.add(2, "Jack Ryan");
+
+ names.set(0, "John Adams");
+
+ names.remove(3);
+ //names.remove(2);
+
+ for (int i = 0; i
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Darek12.
+
+
+
diff --git a/0000000000_StoyanCheresharov/ErrorHandling/manifest.mf b/1401417015 AngelFlag/Darek12/manifest.mf
similarity index 96%
rename from 0000000000_StoyanCheresharov/ErrorHandling/manifest.mf
rename to 1401417015 AngelFlag/Darek12/manifest.mf
index 1574df4..328e8e5 100644
--- a/0000000000_StoyanCheresharov/ErrorHandling/manifest.mf
+++ b/1401417015 AngelFlag/Darek12/manifest.mf
@@ -1,3 +1,3 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Darek12/src/darek12/Darek12.java b/1401417015 AngelFlag/Darek12/src/darek12/Darek12.java
new file mode 100644
index 0000000..2a88ea0
--- /dev/null
+++ b/1401417015 AngelFlag/Darek12/src/darek12/Darek12.java
@@ -0,0 +1,50 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek12;
+
+import java.util.Arrays;
+import java.util.LinkedList;
+
+public class Darek12 {
+
+ public static void main(String[] args) {
+
+ LinkedList LinkListOne = new LinkedList();
+ LinkedList names = new LinkedList();
+
+ names.add("Ivan Petrov");
+ names.add("Angel Ivanov");
+
+ names.addLast("Dragan Petkanov");
+ names.addFirst("Angel Bayraktarov");
+
+ names.add(0, "Peter Pan");
+ names.set(2, "Paul Newman"); //smeni Paul Newman, vmesto Ivan Petrov
+
+ //names.remove(2);
+ //names.remove("Angel Ivanov");
+ System.out.println("nFirst index is " + names.get(0));
+ System.out.println("nLast index is " + names.getLast());
+
+ LinkedList nameCopy = new LinkedList(names);
+
+ System.out.println("Newlist nameCopy" + nameCopy);
+
+ if(names.contains("Peter Pan")){
+ System.out.println("Peter Pan is here!");
+ }
+ System.out.println("ArrayList size is " + names.size());
+
+ for (String name : names){
+ System.out.println(name);
+ }
+
+ Object[] nameArray = new Object[5];
+ nameArray = names.toArray();
+ System.out.println(Arrays.toString(nameArray));
+ names.clear();
+ }
+}
diff --git a/1401417015 AngelFlag/Darek13/build.xml b/1401417015 AngelFlag/Darek13/build.xml
new file mode 100644
index 0000000..d7e7de1
--- /dev/null
+++ b/1401417015 AngelFlag/Darek13/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Darek13.
+
+
+
diff --git a/0000000000_StoyanCheresharov/JavaApplication1/manifest.mf b/1401417015 AngelFlag/Darek13/manifest.mf
similarity index 96%
rename from 0000000000_StoyanCheresharov/JavaApplication1/manifest.mf
rename to 1401417015 AngelFlag/Darek13/manifest.mf
index 1574df4..328e8e5 100644
--- a/0000000000_StoyanCheresharov/JavaApplication1/manifest.mf
+++ b/1401417015 AngelFlag/Darek13/manifest.mf
@@ -1,3 +1,3 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Darek13/src/darek13/Darek13.java b/1401417015 AngelFlag/Darek13/src/darek13/Darek13.java
new file mode 100644
index 0000000..8356845
--- /dev/null
+++ b/1401417015 AngelFlag/Darek13/src/darek13/Darek13.java
@@ -0,0 +1,47 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek13;
+ import java.util.Arrays;
+
+public class Darek13 {
+
+
+ public static void main(String[] args) {
+ String randomString = "I am just a random string";
+ String gotToQuote= "He said, \"I'm here\"";
+
+ int numTwo = 2;
+
+ System.out.println(randomString + " " + numTwo);
+
+ String uppercaseStr = "BIG";
+ String lowercaseStr = "big";
+
+ if(uppercaseStr.equalsIgnoreCase(lowercaseStr)){
+ System.out.println("They are equal");
+ }
+
+ String letters = "abcde";
+ String moreLetters = "fghijk";
+
+
+ System.out.println("2nd char:" + letters.charAt(1));
+ System.out.println(letters.compareTo(moreLetters));
+ System.out.println("Letters contains abc: " + letters.contains("abc"));
+ System.out.println(letters.endsWith("de"));
+ System.out.println(letters.indexOf("bc"));
+ System.out.println("Letters length is " + letters.length());
+ System.out.println(letters.replace("abc", "xy"));
+
+ String[] letterArray = letters.split("");
+
+ System.out.println(Arrays.toString(letterArray));
+
+ char[] charArray = letters.toCharArray();
+ System.out.println(Arrays.toString(charArray));
+ }
+
+}
diff --git a/1401417015 AngelFlag/Darek15interfaces/build.xml b/1401417015 AngelFlag/Darek15interfaces/build.xml
new file mode 100644
index 0000000..b21fdf3
--- /dev/null
+++ b/1401417015 AngelFlag/Darek15interfaces/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Darek15interfaces.
+
+
+
diff --git a/1401417015 AngelFlag/Darek15interfaces/manifest.mf b/1401417015 AngelFlag/Darek15interfaces/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/Darek15interfaces/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Crashable.java b/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Crashable.java
new file mode 100644
index 0000000..1412e50
--- /dev/null
+++ b/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Crashable.java
@@ -0,0 +1,23 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek15interfaces;
+
+/**
+ *
+ * @author THE NET
+ */
+public abstract class Crashable {
+ boolean carDrivable = true;
+
+ public void youCrashed(){
+ this.carDrivable = false;
+ }
+
+ public abstract void setCarStrength(int carStrenght);
+
+ public abstract int getCarStrenthg();
+
+}
diff --git a/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Darek15interfaces.java b/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Darek15interfaces.java
new file mode 100644
index 0000000..b1a90a6
--- /dev/null
+++ b/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Darek15interfaces.java
@@ -0,0 +1,22 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek15interfaces;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Darek15interfaces {
+
+ public static void main(String[] args) {
+
+ Vehicle car = new Vehicle(4,100.00);
+
+ System.out.println("Car Max Speed " + car.getSpeed());
+ System.out.println("Num of Wheels " + car.getWheels());
+ }
+
+}
diff --git a/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Drivable.java b/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Drivable.java
new file mode 100644
index 0000000..961bf4f
--- /dev/null
+++ b/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Drivable.java
@@ -0,0 +1,19 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek15interfaces;
+
+
+public interface Drivable {
+
+ public abstract int getWheels();
+
+ void setWheels(int numWheels);
+
+ double getSpeed();
+
+ void setSpeed(double speed);
+
+}
diff --git a/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Vehicle.java b/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Vehicle.java
new file mode 100644
index 0000000..1bef126
--- /dev/null
+++ b/1401417015 AngelFlag/Darek15interfaces/src/darek15interfaces/Vehicle.java
@@ -0,0 +1,38 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek15interfaces;
+
+
+public class Vehicle implements Drivable {
+
+
+ int numOfWheels = 2;
+ double theSpeed = 0;
+
+ int carStrength = 0;
+
+
+ public int getWheels(){
+ return this.numOfWheels;
+ }
+
+ public void setWheels(int numWheels){
+ this.numOfWheels = numOfWheels;
+ }
+
+ public double getSpeed(){
+ return this.theSpeed;
+ }
+
+ public void setSpeed(double speed){
+ this.theSpeed = speed;
+ }
+
+ public Vehicle(int wheels, double speed){
+ this.numOfWheels = wheels;
+ this.theSpeed = speed;
+ }
+}
diff --git a/1401417015 AngelFlag/Darek8/build.xml b/1401417015 AngelFlag/Darek8/build.xml
new file mode 100644
index 0000000..24872ae
--- /dev/null
+++ b/1401417015 AngelFlag/Darek8/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Darek8.
+
+
+
diff --git a/1401417015 AngelFlag/Darek8/manifest.mf b/1401417015 AngelFlag/Darek8/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/Darek8/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Darek8/src/darek8/Darek8.java b/1401417015 AngelFlag/Darek8/src/darek8/Darek8.java
new file mode 100644
index 0000000..ede816d
--- /dev/null
+++ b/1401417015 AngelFlag/Darek8/src/darek8/Darek8.java
@@ -0,0 +1,106 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek8;
+
+import java.util.Arrays;
+
+public class Darek8 {
+
+ static char[][] battleBoard = new char[10][10];
+
+ public static void buildBattleBoard(){
+
+ for(char[] row : battleBoard)
+ {
+ Arrays.fill(row, '*');
+ }
+ }
+
+ public static void redrawBoard()
+ {
+ int k=1;
+ while(k<=30){System.out.println('-'); k++;}
+ System.out.println();
+
+ for
+ (int i = 0; i < battleBoard.length; i++)
+ {
+ for (int j=0; j
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project StringArrays.
-
-
-
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Darek9Arrays.
+
+
+
diff --git a/1401417015 AngelFlag/Darek9Arrays/manifest.mf b/1401417015 AngelFlag/Darek9Arrays/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/Darek9Arrays/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Darek9Arrays/src/darek9arrays/Darek9Arrays.java b/1401417015 AngelFlag/Darek9Arrays/src/darek9arrays/Darek9Arrays.java
new file mode 100644
index 0000000..c9852c3
--- /dev/null
+++ b/1401417015 AngelFlag/Darek9Arrays/src/darek9arrays/Darek9Arrays.java
@@ -0,0 +1,194 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek9arrays;
+
+
+ import java.util.Arrays;
+
+public class Darek9Arrays {
+
+
+ public static void main(String[] args) {
+
+
+// An array is a variable that can hold a bunch of values
+// Think of an array as a big box filled with other boxes
+// Each box has a number on it called an index that you use
+// to access its specific value
+/* Array Rules
+ * An array can contain only values of the same type
+ * An arrays size can't be changed once it is set
+ * An array is an object
+ */
+// You declare an array with the dataType[] arrayName
+ int[] randomArray;
+// You create an array with
+// dataType[] arrayName = new dataType[sizeOfArray];
+ int[] numberArray = new int[10];
+// You can add values to the array in many ways
+ // Individually
+// Most create array and define size first
+
+ randomArray = new int[20];
+ randomArray[1] = 2;
+ // You can also create the array and its values from the start
+ String[] stringArray = {" Just", " Random", " Words"};
+ // You can add values with a loop
+// arrayName.length returns the number of elements in the array
+ for(int i = 0; i= 0; i--){
+
+ System.out.println("array value: " + array[i]);
+ }
+ //otpechatvane na shahmatna daska Nakov 203 stranica;
+ int[][] matrix = {
+ {1,2,3,4},
+ {5,6,7,8}
+ };
+ for(int row=0;row<=matrix.length;row++){
+ for(int col = 0; col
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Enigma.
+
+
+
diff --git a/1401417015 AngelFlag/Enigma/manifest.mf b/1401417015 AngelFlag/Enigma/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/Enigma/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Enigma/src/enigma/Enigma.java b/1401417015 AngelFlag/Enigma/src/enigma/Enigma.java
new file mode 100644
index 0000000..025040b
--- /dev/null
+++ b/1401417015 AngelFlag/Enigma/src/enigma/Enigma.java
@@ -0,0 +1,555 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package enigma;
+//
+///**
+// *
+// * @author THE NET
+// */
+//public class Enigma {
+
+// public static void main(String[] args) {
+//
+
+
+/** ------------------------------------------------------------------------
+ * Enigma.java
+ * This is an Enigma machine decryption program u
+ *
+ * Class: CS 107
+ * Lab: Englebert Humberdink, Mon. 5:00 AM
+ * System: Eclipse 3.3.2, Java sdk 1.6, Windows XP
+ *
+ * @author Dale Reed
+ * @version April 12, 2009
+ *
+ * Running program gives:
+ *
+
+
+
+ * ----------------------------------------------------------------------------
+ */
+
+// import Java libraries that are needed
+import java.util.Scanner; // used for console input
+
+// the following are needed to implement reading from the dictionary
+import java.io.IOException; // for IOException
+import java.util.ArrayList; // Used to create ArrayLists dictionary use
+import java.io.*; // Used for IOException, File
+
+
+// Declare the class
+public class Enigma
+{
+ // Fields that can be accessed anywhere in the class go here
+ Scanner keyboard = new Scanner( System.in); // used to read user input
+ // Declare a dynamically allocated ArrayList of Strings for the dictionary.
+ // The dictionary can hold any number of words.
+ ArrayList dictionary;
+
+ // Values for three rotors
+ char[] innerRotor = {' ','G','N','U','A','H','O','V','B','I','P','W','C','J','Q','X','D','K','R','Y','E','L','S','Z','F','M','T'};
+ char[] middleRotor = {' ','E','J','O','T','Y','C','H','M','R','W','A','F','K','P','U','Z','D','I','N','S','X','B','G','L','Q','V'};
+ char[] outerRotor = {' ','B','D','F','H','J','L','N','P','R','T','V','X','Z','A','C','E','G','I','K','M','O','Q','S','U','W','Y'};
+
+ // Create index arrays corresponding to each of the above, so that a letter can be used directly
+ // as an index and doesn't require searching. In other words, rather than having to search within
+ // the innerRotor array to find 'A' at index position 4, we have a innerRotorIndex array that has
+ // an entry for each ASCII character, and at position 'A' (which is 65) we will store the value 4.
+ // This will speed up the program, since we won't need to search through the array for each letter
+ // for each lookup, but rather can go directly there using the letter as the index.
+ int[] innerRotorIndex = new int[128];
+ int[] middleRotorIndex = new int[128];
+ int[] outerRotorIndex = new int[128];
+
+ // Starting rotor position is chosen by the user, and modifies the starting rotor values
+ char innerRotorStartingLetter = ' ';
+ char middleRotorStartingLetter = ' ';
+ char outerRotorStartingLetter = ' ';
+
+ // Fields to store best case found
+ int bestNumberOfDictionaryHits = 0; // will range from 0 to # of input words
+ String bestDecryptedString = ""; // will store best decrypted string found
+ char bestInnerRotorSetting = ' '; // will store rotor start letter for best solution found
+ char bestMiddleRotorSetting = ' '; // will store rotor start letter for best solution found
+ char bestOuterRotorSetting = ' '; // will store rotor start letter for best solution found
+
+
+ //--------------------------------------------------------------------------
+ // main() - startup main loop. It is necessary to create an instance of this
+ // class and then call a method from that instance, otherwise there may
+ // be error messages having to do with non-static objects (e.g. keyboard)
+ // being called from a static context (e.g. main).
+ // The words "throws IOException" have to do with dictionary error
+ // handling.
+ //
+ public static void main(String[] args) throws IOException
+ {
+ // create an instance of this class
+ Enigma EnigmaInstance = new Enigma();
+ // call a non-static method to do everything else
+ EnigmaInstance.mainLoop();
+
+ System.out.println("\n" +
+ "Exiting program...\n");
+ }
+
+
+ //-------------------------------------------------------------------------
+ // mainLoop() - display identifying information and run main loop with menu
+ // The words "throws IOException" have to do with dictionary error
+ // handling.
+ //
+ void mainLoop() throws IOException
+ {
+ // First take care of creating and initializing the dictionary
+ // Define the instance of the dictionary ArrayList
+ dictionary = new ArrayList();
+ // Now fill the dictionary array list with words from the dictionary file
+ readInDictionaryWords();
+
+ String cipherText = ""; // stores user Input in main loop
+ char[] cipherTextArray; // starts with the cipherText; Eventually will store the decrypted text
+
+ // Display identifying information
+ System.out.println( "Author: Dale Reed \n" +
+ "Class: CS 107, Spring 2009 \n" +
+ "Program #5: Enigma \n" +
+ "TA: Billie Joe Armstrong, T 6:00 AM \n" +
+ "April 12, 2009\n");
+
+ // Prompt for input to be used
+ System.out.println("Choose from the following options:");
+ System.out.println(" 1. Encode some text ");
+ System.out.println(" 2. Decode using user-entered rotor starting values ");
+ System.out.println(" 3. Decode by trying all possible rotor combinations ");
+ System.out.println(" 4. Exit program ");
+ System.out.print("Your choice: ");
+ String menuChoice = keyboard.nextLine();
+
+ // handle user input for "exit"
+ if( menuChoice.equals("4") ) {
+ System.out.println("Exit was chosen.");
+ // skip rest of code
+ System.exit( 0);
+ }
+
+ // Handle menu options 1 or 2, both of which prompt the user for the starting rotor
+ // values. Start with the code that initializes the rotor arrays that will be used
+ // in encoding/decoding.
+ if( (menuChoice.equals("1")) || (menuChoice.equals("2")) ) {
+ // Encode or Decode using user-entered values
+
+ // prompt for and store starting rotor values
+ promptForStartingRotorValuesAndRotateRotors();
+
+ }//end if( (menuChoice.equals...
+
+ if( menuChoice.equals("1") ) {
+ // Selected "1" to encode some text
+ encodeText();
+ // skip rest of code
+ System.out.println("\n" +
+ "Exiting after encoding text...");
+ System.exit( 0);
+ }
+ else if( menuChoice.equals("2") || menuChoice.equals("3")) {
+ // Selected "2" to decode using user-entered values, or
+ // selected "3" to decode trying all possible rotor starting positions.
+
+ // Prompt for cipherText to use
+ System.out.print("Enter the cipherText to be decoded: ");
+ cipherText = keyboard.nextLine();
+ // convert to upper case and make it into a character array
+ cipherTextArray = cipherText.toUpperCase().toCharArray();
+
+ if( menuChoice.equals("2") ) {
+ // Decode using user-entered values
+ // send the cipherText, which will be decoded and returned in place
+ decodeText( cipherTextArray);
+ // display answer
+ System.out.println("Decoded text is: " + String.copyValueOf( cipherTextArray));
+ }
+ else {
+ // menuChoice was "3", which should try all possible starting rotor positions
+ tryAllRotorPositions( cipherTextArray);
+
+ // display best decoded text found
+ System.out.println("\n" +
+ "Decoded text is: " + bestDecryptedString + "\n");
+ // for some reason the stored rotor settings are incorrect, though the decrypted string is correct. ???
+ // "Using rotor settings: " + bestInnerRotorSetting + bestMiddleRotorSetting + bestOuterRotorSetting);
+
+ }//end else
+
+ }//end else if( menuchoice.equals...
+ else {
+ System.out.println("Invalid menu option chosen. Please re-run program");
+ // skip rest of code
+ System.exit( 0);
+ }
+
+ }//end mainLoop()
+
+
+ // Prompt for and store the starting rotor values.
+ // Do some sanity check evaluation of the input values as well.
+ public void promptForStartingRotorValuesAndRotateRotors()
+ {
+ System.out.print("Enter the inner, mid, and outer rotor starting letters (e.g. ABC) or press enter for default: ");
+ String userInput = keyboard.nextLine();
+ if( userInput.length() == 0) {
+ // user wants defaults of blanks to be the starting letters
+ System.out.println("Default of blanks used for the starting letters.");
+ innerRotorStartingLetter = ' ';
+ middleRotorStartingLetter = ' ';
+ outerRotorStartingLetter = ' ';
+ }
+ else {
+ // there was user input to select the starting letters for each rotor
+
+ // convert userInput to all upper case
+ userInput = userInput.toUpperCase();
+ // extract characters for starting rotor values
+ innerRotorStartingLetter = userInput.charAt( 0);
+ middleRotorStartingLetter = userInput.charAt( 1);
+ outerRotorStartingLetter = userInput.charAt( 2);
+
+ // Sanity check
+ if( (userInput.length() != 3) ||
+ (innerRotorStartingLetter != ' ' && !Character.isLetter( innerRotorStartingLetter) ) ||
+ (middleRotorStartingLetter != ' ' && !Character.isLetter( middleRotorStartingLetter) ) ||
+ (outerRotorStartingLetter != ' ' && !Character.isLetter( outerRotorStartingLetter) )
+ ) {
+ // There was a problem, so exit program
+ System.out.println("*** Invalid rotor letters. Exiting program...");
+ System.exit( -1);
+ }
+ }//end else
+
+ // Rotate rotor arrays to reflect the user-selected starting letter
+ rotateRotors( innerRotorStartingLetter, middleRotorStartingLetter, outerRotorStartingLetter);
+
+ }//end promptForAndStoreStartingRotorValues()
+
+
+ // Rotate rotors based on starting letters. Then reinitialize the arrays of rotor index values
+ // used to speed up program execution.
+ public void rotateRotors(char innerRotorStartingLetter,
+ char middleRotorStartingLetter,
+ char outerRotorStartingLetter)
+ {
+ // rotate rotors to the given starting letter
+ rotateRotorToStartingCharacter( innerRotorStartingLetter, innerRotor);
+ rotateRotorToStartingCharacter( middleRotorStartingLetter, middleRotor);
+ rotateRotorToStartingCharacter( outerRotorStartingLetter, outerRotor);
+
+ // Set rotor index values based on the rotor characters. Though not essential,
+ // this speeds up the program since we can jump right to a letter and don't need
+ // to search for it within each rotor.
+ setRotorIndexValues(innerRotorIndex, innerRotor);
+ setRotorIndexValues(middleRotorIndex, middleRotor);
+ setRotorIndexValues(outerRotorIndex, outerRotor);
+ }//end rotateRotors()
+
+
+ // rotate the rotor letters to reflect the user's choice of rotor starting position.
+ public void rotateRotorToStartingCharacter( char theLetter, char[] theRotor)
+ {
+ // first make a copy of the original array so we have the values to use
+ // while we modify the original
+ char[] theRotorCopy = new char[ theRotor.length];
+ for( int i=0; i 0, otherwise empty Strings are considered found in the dictionary
+ if( wordExists( wordsArray[ i].toLowerCase()) && (wordsArray[ i].length() > 0) ) {
+ wordFoundCount++;
+ // For debugging:
+ //System.out.println("Found " + wordsArray[ i]);
+ }
+ }//end for( int i...
+
+ return wordFoundCount;
+ }//end dictionaryLookup...
+
+
+ // If we have a new best case scenario, store the values so we can use it to decode
+ public void storeBestCase(String cipherText,
+ int numberOfDictionaryHits,
+ char innerRotorSetting,
+ char middleRotorSetting,
+ char outerRotorSetting)
+ {
+ // Store information if we have a new best case
+ if( numberOfDictionaryHits > bestNumberOfDictionaryHits) {
+ // we have a new best case, so store these values
+ bestNumberOfDictionaryHits = numberOfDictionaryHits; // store best number of dictionary hits
+ bestDecryptedString = new String( cipherText); // store best decrypted text
+ bestInnerRotorSetting = innerRotorSetting; // store best rotor settings
+ bestMiddleRotorSetting = middleRotorSetting;
+ bestOuterRotorSetting = outerRotorSetting;
+ // display values for debugging
+ /*
+ System.out.println("\n" +
+ "New best case with " + numberOfDictionaryHits + " hits. " +
+ "Rotors set to: " + innerRotorSetting + middleRotorSetting + outerRotorSetting + ". " +
+ " PlainText: " + bestDecryptedString +
+ "\n");
+ */
+ }//end if( numberOfDictionaryHits...
+
+ }//end storeBestCase(...)
+
+
+
+ // Read in the words to create the dictionary.
+ // It throws an IOException, which is a way to gracefully handle errors
+ // should there be a problem reading from the input.
+ public void readInDictionaryWords() throws IOException
+ {
+ // Define a Scanner to read from an input file. Note that the name of
+ // the file given in the code below MUST match the actual filename of
+ // the dictionary file. This file should be in the same directory
+ // as the source code for WordCross.java
+ File dictionaryFile = new File("dictionary.txt"); // declare the file
+ // print the directory where this program expects to find dictionary
+ System.out.println(System.getProperty("user.dir"));
+ // ensure file exists and is in the correct directory
+ if( ! dictionaryFile.exists()) {
+ System.out.println("*** Error *** \n" +
+ "Your dictionary file has the wrong name or is " +
+ "in the wrong directory. \n" +
+ "Aborting program...\n\n");
+ System.exit( -1); // Terminate the program
+ }
+ Scanner inputFile = new Scanner( dictionaryFile);
+
+ // while there are words in the input file, add them to the dictionary
+ while( inputFile.hasNext()) {
+ dictionary.add( inputFile.nextLine() );
+ }
+ }//end createDictionary()
+
+
+ // Allow looking up a word in dictionary, returning a value of true or false
+ public boolean wordExists( String wordToLookup)
+ {
+ if( dictionary.contains( wordToLookup)) {
+ return true; // words was found in dictionary
+ }
+ else {
+ return false; // word was not found in dictionary
+ }
+ }//end wordExists
+
+
+}//end Class Enigma
diff --git a/1401417015 AngelFlag/EnigmaMashine/build.xml b/1401417015 AngelFlag/EnigmaMashine/build.xml
new file mode 100644
index 0000000..74e94a3
--- /dev/null
+++ b/1401417015 AngelFlag/EnigmaMashine/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project EnigmaMashine.
+
+
+
diff --git a/1401417015 AngelFlag/EnigmaMashine/dictionary.txt b/1401417015 AngelFlag/EnigmaMashine/dictionary.txt
new file mode 100644
index 0000000..8ce4492
--- /dev/null
+++ b/1401417015 AngelFlag/EnigmaMashine/dictionary.txt
@@ -0,0 +1 @@
+Plovdiv Fashion Week
\ No newline at end of file
diff --git a/1401417015 AngelFlag/EnigmaMashine/manifest.mf b/1401417015 AngelFlag/EnigmaMashine/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/EnigmaMashine/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/EnigmaMashine/src/enigmamashine/EnigmaMashine.java b/1401417015 AngelFlag/EnigmaMashine/src/enigmamashine/EnigmaMashine.java
new file mode 100644
index 0000000..6b9d962
--- /dev/null
+++ b/1401417015 AngelFlag/EnigmaMashine/src/enigmamashine/EnigmaMashine.java
@@ -0,0 +1,501 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package enigmamashine;
+
+ import java.util.Scanner;
+ import java.io.IOException; // for IOException
+ import java.util.ArrayList; // Used to create ArrayLists dictionary use
+ import java.io.*;
+
+public class EnigmaMashine {
+
+ Scanner keyboard = new Scanner( System.in);
+ ArrayList dictionary;
+
+ char[] innerRotor = {' ','G','N','U','A','H','O','V','B','I','P','W','C','J','Q','X','D','K','R','Y','E','L','S','Z','F','M','T'};
+ char[] middleRotor = {' ','E','J','O','T','Y','C','H','M','R','W','A','F','K','P','U','Z','D','I','N','S','X','B','G','L','Q','V'};
+ char[] outerRotor = {' ','B','D','F','H','J','L','N','P','R','T','V','X','Z','A','C','E','G','I','K','M','O','Q','S','U','W','Y'};
+
+ int[] innerRotorIndex = new int[128];
+ int[] middleRotorIndex = new int[128];
+ int[] outerRotorIndex = new int[128];
+
+ char innerRotorStartingLetter = ' ';
+ char middleRotorStartingLetter = ' ';
+ char outerRotorStartingLetter = ' ';
+
+ int bestNumberOfDictionaryHits = 0;
+ String bestDecryptedString = "";
+ char bestInnerRotorSetting =' ';
+ char bestMiddleRotorSetting =' ';
+ char bestOuterRotorSetting = ' ';
+
+
+ public static void main(String[] args) throws IOException {
+ // create an instance of this class
+ EnigmaMashine EnigmaInstance = new EnigmaMashine();
+ // call a non-static method to do everything else
+ EnigmaInstance.mainLoop();
+
+ System.out.println("\n" +
+ "Exiting program...\n");
+ }
+
+
+ //-------------------------------------------------------------------------
+ // mainLoop() - display identifying information and run main loop with menu
+ // The words "throws IOException" have to do with dictionary error
+ // handling.
+ //
+ void mainLoop() throws IOException
+ {
+ // First take care of creating and initializing the dictionary
+ // Define the instance of the dictionary ArrayList
+ dictionary = new ArrayList<>();
+ // Now fill the dictionary array list with words from the dictionary file
+ readInDictionaryWords();
+
+ String cipherText = ""; // stores user Input in main loop
+ char[] cipherTextArray; // starts with the cipherText; Eventually will store the decrypted text
+
+ // Display identifying information
+ System.out.println( "Author: Dale Reed \n" +
+ "Class: CS 107, Spring 2009 \n" +
+ "Program #5: Enigma \n" +
+ "TA: Billie Joe Armstrong, T 6:00 AM \n" +
+ "April 12, 2009\n");
+
+ // Prompt for input to be used
+ System.out.println("Choose from the following options:");
+ System.out.println(" 1. Encode some text ");
+ System.out.println(" 2. Decode using user-entered rotor starting values ");
+ System.out.println(" 3. Decode by trying all possible rotor combinations ");
+ System.out.println(" 4. Exit program ");
+ System.out.print("Your choice: ");
+ String menuChoice = keyboard.nextLine();
+
+ // handle user input for "exit"
+ if( menuChoice.equals("4") ) {
+ System.out.println("Exit was chosen.");
+ // skip rest of code
+ System.exit( 0);
+ }
+
+ // Handle menu options 1 or 2, both of which prompt the user for the starting rotor
+ // values. Start with the code that initializes the rotor arrays that will be used
+ // in encoding/decoding.
+ if( (menuChoice.equals("1")) || (menuChoice.equals("2")) ) {
+ // Encode or Decode using user-entered values
+
+ // prompt for and store starting rotor values
+ promptForStartingRotorValuesAndRotateRotors();
+
+ }//end if( (menuChoice.equals...
+ switch (menuChoice) {
+ case "1":
+ // Selected "1" to encode some text
+ encodeText();
+ // skip rest of code
+ System.out.println("\n" +
+ "Exiting after encoding text...");
+ System.exit( 0);
+ //end else if( menuchoice.equals...
+ case "2":
+ case "3":
+ // Selected "2" to decode using user-entered values, or
+ // selected "3" to decode trying all possible rotor starting positions.
+
+ // Prompt for cipherText to use
+ System.out.print("Enter the cipherText to be decoded: ");
+ cipherText = keyboard.nextLine();
+ // convert to upper case and make it into a character array
+ cipherTextArray = cipherText.toUpperCase().toCharArray();
+ if( menuChoice.equals("2") ) {
+ // Decode using user-entered values
+ // send the cipherText, which will be decoded and returned in place
+ decodeText( cipherTextArray);
+ // display answer
+ System.out.println("Decoded text is: " + String.copyValueOf( cipherTextArray));
+ }
+ else {
+ // menuChoice was "3", which should try all possible starting rotor positions
+ tryAllRotorPositions( cipherTextArray);
+
+ // display best decoded text found
+ System.out.println("\n" +
+ "Decoded text is: " + bestDecryptedString + "\n");
+ // for some reason the stored rotor settings are incorrect, though the decrypted string is correct. ???
+ // "Using rotor settings: " + bestInnerRotorSetting + bestMiddleRotorSetting + bestOuterRotorSetting);
+
+ }//end else
+ break;
+ default:
+ System.out.println("Invalid menu option chosen. Please re-run program");
+ // skip rest of code
+ System.exit( 0);
+ }
+
+ }//end mainLoop()
+
+
+ // Prompt for and store the starting rotor values.
+ // Do some sanity check evaluation of the input values as well.
+ public void promptForStartingRotorValuesAndRotateRotors()
+ {
+ System.out.print("Enter the inner, mid, and outer rotor starting letters (e.g. ABC) or press enter for default: ");
+ String userInput = keyboard.nextLine();
+ if( userInput.length() == 0) {
+ // user wants defaults of blanks to be the starting letters
+ System.out.println("Default of blanks used for the starting letters.");
+ innerRotorStartingLetter = ' ';
+ middleRotorStartingLetter = ' ';
+ outerRotorStartingLetter = ' ';
+ }
+ else {
+ // there was user input to select the starting letters for each rotor
+
+ // convert userInput to all upper case
+ userInput = userInput.toUpperCase();
+ // extract characters for starting rotor values
+ innerRotorStartingLetter = userInput.charAt( 0);
+ middleRotorStartingLetter = userInput.charAt( 1);
+ outerRotorStartingLetter = userInput.charAt( 2);
+
+ // Sanity check
+ if( (userInput.length() != 3) ||
+ (innerRotorStartingLetter != ' ' && !Character.isLetter( innerRotorStartingLetter) ) ||
+ (middleRotorStartingLetter != ' ' && !Character.isLetter( middleRotorStartingLetter) ) ||
+ (outerRotorStartingLetter != ' ' && !Character.isLetter( outerRotorStartingLetter) )
+ ) {
+ // There was a problem, so exit program
+ System.out.println("*** Invalid rotor letters. Exiting program...");
+ System.exit( -1);
+ }
+ }//end else
+
+ // Rotate rotor arrays to reflect the user-selected starting letter
+ rotateRotors( innerRotorStartingLetter, middleRotorStartingLetter, outerRotorStartingLetter);
+
+ }//end promptForAndStoreStartingRotorValues()
+
+
+ // Rotate rotors based on starting letters. Then reinitialize the arrays of rotor index values
+ // used to speed up program execution.
+ public void rotateRotors(char innerRotorStartingLetter,
+ char middleRotorStartingLetter,
+ char outerRotorStartingLetter)
+ {
+ // rotate rotors to the given starting letter
+ rotateRotorToStartingCharacter( innerRotorStartingLetter, innerRotor);
+ rotateRotorToStartingCharacter( middleRotorStartingLetter, middleRotor);
+ rotateRotorToStartingCharacter( outerRotorStartingLetter, outerRotor);
+
+ // Set rotor index values based on the rotor characters. Though not essential,
+ // this speeds up the program since we can jump right to a letter and don't need
+ // to search for it within each rotor.
+ setRotorIndexValues(innerRotorIndex, innerRotor);
+ setRotorIndexValues(middleRotorIndex, middleRotor);
+ setRotorIndexValues(outerRotorIndex, outerRotor);
+ }//end rotateRotors()
+
+
+ // rotate the rotor letters to reflect the user's choice of rotor starting position.
+ public void rotateRotorToStartingCharacter( char theLetter, char[] theRotor)
+ {
+ // first make a copy of the original array so we have the values to use
+ // while we modify the original
+ char[] theRotorCopy = new char[ theRotor.length];
+ for (int i=0; i 0, otherwise empty Strings are considered found in the dictionary
+ if (wordExists(wordsArray1.toLowerCase()) && (wordsArray1.length() > 0)) {
+ wordFoundCount++;
+ // For debugging:
+ //System.out.println("Found " + wordsArray[ i]);
+ }
+ } //end for( int i...
+
+ return wordFoundCount;
+ }//end dictionaryLookup...
+
+
+ // If we have a new best case scenario, store the values so we can use it to decode
+ public void storeBestCase(String cipherText,
+ int numberOfDictionaryHits,
+ char innerRotorSetting,
+ char middleRotorSetting,
+ char outerRotorSetting)
+ {
+ // Store information if we have a new best case
+ if( numberOfDictionaryHits > bestNumberOfDictionaryHits) {
+ // we have a new best case, so store these values
+ bestNumberOfDictionaryHits = numberOfDictionaryHits; // store best number of dictionary hits
+ bestDecryptedString = new String( cipherText); // store best decrypted text
+ bestInnerRotorSetting = innerRotorSetting; // store best rotor settings
+ bestMiddleRotorSetting = middleRotorSetting;
+ bestOuterRotorSetting = outerRotorSetting;
+ // display values for debugging
+ /*
+ System.out.println("\n" +
+ "New best case with " + numberOfDictionaryHits + " hits. " +
+ "Rotors set to: " + innerRotorSetting + middleRotorSetting + outerRotorSetting + ". " +
+ " PlainText: " + bestDecryptedString +
+ "\n");
+ */
+ }//end if( numberOfDictionaryHits...
+
+ }//end storeBestCase(...)
+
+ // Read in the words to create the dictionary.
+ // It throws an IOException, which is a way to gracefully handle errors
+ // should there be a problem reading from the input.
+
+ public void readInDictionaryWords() throws IOException
+ {
+ // Define a Scanner to read from an input file. Note that the name of
+ // the file given in the code below MUST match the actual filename of
+ // the dictionary file. This file should be in the same directory
+ // as the source code for WordCross.java
+ File dictionaryFile = new File("C:\\Users\\THE NET\\Documents\\GitHub\\Java2014\\1401417015 AngelFlag\\EnigmaMashine\\Dictionary.txt");
+ // declare the file
+ // print the directory where this program expects to find dictionary
+ System.out.println(System.getProperty("C:\\Users\\THE NET\\Documents\\GitHub\\Java2014\\1401417015 AngelFlag\\EnigmaMashine"));
+ // ensure file exists and is in the correct directory
+ if( ! dictionaryFile.exists()) {
+ System.out.println("*** Error *** \n" +
+ "Your dictionary file has the wrong name or is " +
+ "in the wrong directory. \n" +
+ "Aborting program...\n\n");
+ System.exit( -1); // Terminate the program
+ }
+ Scanner inputFile = new Scanner( dictionaryFile);
+
+ // while there are words in the input file, add them to the dictionary
+ while( inputFile.hasNext()) {
+ dictionary.add( inputFile.nextLine() );
+ }
+ }//end createDictionary()
+
+
+ // Allow looking up a word in dictionary, returning a value of true or false
+ public boolean wordExists( String wordToLookup)
+ {
+ if( dictionary.contains( wordToLookup)) {
+ return true; // words was found in dictionary1
+ }
+ else {
+ return false; // word was not found in dictionary
+ }
+ }//end wordExists
+
+
+}//end Class Enigma
+
diff --git a/1401417015 AngelFlag/Exam2_1bdowhile/build.xml b/1401417015 AngelFlag/Exam2_1bdowhile/build.xml
new file mode 100644
index 0000000..d08a182
--- /dev/null
+++ b/1401417015 AngelFlag/Exam2_1bdowhile/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Exam2_1bdowhile.
+
+
+
diff --git a/1401417015 AngelFlag/Exam2_1bdowhile/manifest.mf b/1401417015 AngelFlag/Exam2_1bdowhile/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/Exam2_1bdowhile/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Exam2_1bdowhile/src/exam2_1bdowhile/Exam2_1bdowhile.java b/1401417015 AngelFlag/Exam2_1bdowhile/src/exam2_1bdowhile/Exam2_1bdowhile.java
new file mode 100644
index 0000000..a534d6c
--- /dev/null
+++ b/1401417015 AngelFlag/Exam2_1bdowhile/src/exam2_1bdowhile/Exam2_1bdowhile.java
@@ -0,0 +1,25 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_1bdowhile;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_1bdowhile {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ int i = 1;
+ do{System.out.println(i);
+ i=i+1;
+ }
+ while (i<11);
+ }
+
+}
diff --git a/0000000000_StoyanCheresharov/DataTypes/build.xml b/1401417015 AngelFlag/Fibonacci/build.xml
similarity index 93%
rename from 0000000000_StoyanCheresharov/DataTypes/build.xml
rename to 1401417015 AngelFlag/Fibonacci/build.xml
index bcf886f..cf3a973 100644
--- a/0000000000_StoyanCheresharov/DataTypes/build.xml
+++ b/1401417015 AngelFlag/Fibonacci/build.xml
@@ -1,73 +1,73 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project DataTypes.
-
-
-
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Fibonacci.
+
+
+
diff --git a/1401417015 AngelFlag/Fibonacci/manifest.mf b/1401417015 AngelFlag/Fibonacci/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/Fibonacci/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Fibonacci/src/fibonacci/Fibonacci.java b/1401417015 AngelFlag/Fibonacci/src/fibonacci/Fibonacci.java
new file mode 100644
index 0000000..d86c3b3
--- /dev/null
+++ b/1401417015 AngelFlag/Fibonacci/src/fibonacci/Fibonacci.java
@@ -0,0 +1,34 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package fibonacci;
+import java.util.*;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Fibonacci {
+//using formula from GOD KNOWS WHERE......BUT IT WORKSSSSS
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ Scanner input = new Scanner(System.in);
+ System.out.print("enter numbers:");
+ int number = input.nextInt();
+ int count=1;
+ int c =1,b=1,a=0;
+ while(count <= number){
+ c= b+a;
+ System.out.print(c);
+ a = b;
+ b = c;
+ count++;
+ }
+
+ }
+}
diff --git a/1401417015 AngelFlag/Human/build.xml b/1401417015 AngelFlag/Human/build.xml
new file mode 100644
index 0000000..5fc425e
--- /dev/null
+++ b/1401417015 AngelFlag/Human/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Human.
+
+
+
diff --git a/1401417015 AngelFlag/Human/manifest.mf b/1401417015 AngelFlag/Human/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/Human/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Human/src/human/Human.java b/1401417015 AngelFlag/Human/src/human/Human.java
new file mode 100644
index 0000000..d19238a
--- /dev/null
+++ b/1401417015 AngelFlag/Human/src/human/Human.java
@@ -0,0 +1,32 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package human;
+
+public class Human {
+ String Name;
+ int Age;
+
+ public Human(String name,int age)
+ {
+ this.Name = name;//Name = name;
+ this.Age = age; //Age = age;
+ }
+ @Override
+ public String toString()
+ {
+ return "My name is " + Name +" and I am " + Age + " years old";
+ }
+ /**
+ * @param args the command line arguments
+ */
+ //public static void main(String[] args) {
+ // Human metod = new Human("Ivan",20);
+ // System.out.println(metod.Name + "-" + metod.Age);
+ // System.out.println(metod.toString());
+ // System.out.println(metod);
+ }
+
+//}
diff --git a/1401417015 AngelFlag/Human/src/human/student.java b/1401417015 AngelFlag/Human/src/human/student.java
new file mode 100644
index 0000000..8086bb8
--- /dev/null
+++ b/1401417015 AngelFlag/Human/src/human/student.java
@@ -0,0 +1,22 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package human;
+
+
+public class student extends Human{
+ String Fi;
+
+ public student(String name, int age, String Fi) {
+ super(name, age);
+ this.Fi = Fi;
+ }
+ public String toString(){
+
+ return super.toString() + " Той е студент с Fi: " + Fi;
+
+
+ }
+}
diff --git a/1401417015 AngelFlag/Human/src/human/usingHuman.java b/1401417015 AngelFlag/Human/src/human/usingHuman.java
new file mode 100644
index 0000000..a2648d2
--- /dev/null
+++ b/1401417015 AngelFlag/Human/src/human/usingHuman.java
@@ -0,0 +1,21 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package human;
+
+/**
+ *
+ * @author THE NET
+ */
+public class usingHuman {
+
+ public static void main(String[] args) {
+ Human metod = new Human("Ivan",20);
+ System.out.println(metod.Name + "-" + metod.Age);
+ System.out.println(metod.toString());
+ System.out.println(metod);
+ }
+}
+
diff --git a/1401417015 AngelFlag/Human/src/human/usingStudent.java b/1401417015 AngelFlag/Human/src/human/usingStudent.java
new file mode 100644
index 0000000..52d81b8
--- /dev/null
+++ b/1401417015 AngelFlag/Human/src/human/usingStudent.java
@@ -0,0 +1,20 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package human;
+
+/**
+ *
+ * @author THE NET
+ */
+public class usingStudent {
+ public static void main(String[] args) {
+ student с = new student("Иван", 20, "123456");
+ System.out.println(с.Name + " - " + с.Age + " - " + с.Fi);
+ System.out.println(с);
+
+ }
+
+}
diff --git a/1401417015 AngelFlag/JavaPractis/build.xml b/1401417015 AngelFlag/JavaPractis/build.xml
new file mode 100644
index 0000000..3a6a842
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractis/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project JavaPractis.
+
+
+
diff --git a/1401417015 AngelFlag/JavaPractis/manifest.mf b/1401417015 AngelFlag/JavaPractis/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractis/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/JavaPractis/src/javapractis/ButtonListener.java b/1401417015 AngelFlag/JavaPractis/src/javapractis/ButtonListener.java
new file mode 100644
index 0000000..6915e94
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractis/src/javapractis/ButtonListener.java
@@ -0,0 +1,19 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractis;
+
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+
+public class ButtonListener implements ActionListener{
+
+ @Override
+ public void actionPerformed(ActionEvent ae) {
+ System.out.println("sadfadsfasfasfads");
+ }
+
+}
diff --git a/1401417015 AngelFlag/JavaPractis/src/javapractis/JavaPractis.java b/1401417015 AngelFlag/JavaPractis/src/javapractis/JavaPractis.java
new file mode 100644
index 0000000..d4c0319
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractis/src/javapractis/JavaPractis.java
@@ -0,0 +1,93 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractis;
+
+import java.awt.FlowLayout;
+import java.awt.GridLayout;
+import java.awt.LayoutManager;
+import java.util.ArrayList;
+import javax.swing.JButton;
+import javax.swing.JFrame;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JTextField;
+
+
+public class JavaPractis extends JFrame {
+
+
+ public JPanel gorenPanel = new JPanel();
+ public JPanel dolenPanel = new JPanel();
+
+ public JLabel fLabel = new JLabel("First Name");
+ public JLabel lLabel = new JLabel("Last Name");
+ public JLabel ageLabel = new JLabel("Age");
+
+ public JButton addButton = new JButton("Add");
+ public JButton editButton = new JButton("Edit");
+ public JButton deleteButton = new JButton("Delete");
+ public JButton printButton = new JButton("Print All");
+
+ public JTextField firstNameText = new JTextField();
+ public JTextField lastNameText = new JTextField();
+ public JTextField ageNameText = new JTextField();
+
+ public ArrayList PersonList = new ArrayList();
+
+ public JavaPractis(){
+ super();
+ this.setSize(500,500);
+ this.setLocation(200,300);
+ this.setLayout(new GridLayout(2,1));
+
+ this.add(gorenPanel);
+ this.add(dolenPanel);
+
+ this.add(fLabel);
+ this.add(lLabel);
+ this.add(ageLabel);
+
+ //upPanel
+ gorenPanel.setLayout(new GridLayout(3,2));
+ gorenPanel.add(fLabel);
+ gorenPanel.add(firstNameText);
+ gorenPanel.add(lLabel);
+ gorenPanel.add(lastNameText);
+ gorenPanel.add(ageLabel);
+ gorenPanel.add(ageNameText);
+
+
+ dolenPanel.setLayout(new FlowLayout());
+ dolenPanel.add(addButton);
+ dolenPanel.add(editButton);
+ dolenPanel.add(deleteButton);
+ dolenPanel.add(printButton);
+
+ //public JButton addButton = new JButton("ADD");
+
+ addButton.addActionListener(new ButtonListener());
+ //editButton.addActionListener(null);
+
+ //
+
+ }
+
+
+
+ public static void main(String[] args) {
+ JavaPractis Practise = new JavaPractis();
+ Practise.setVisible(true);
+ Practise.setDefaultCloseOperation(EXIT_ON_CLOSE);
+
+
+
+ }
+
+ private LayoutManager FlowLayout() {
+ throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
+ }
+
+}
diff --git a/1401417015 AngelFlag/JavaPractise/build.xml b/1401417015 AngelFlag/JavaPractise/build.xml
new file mode 100644
index 0000000..e09c76b
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project JavaPractise.
+
+
+
diff --git a/1401417015 AngelFlag/JavaPractise/manifest.mf b/1401417015 AngelFlag/JavaPractise/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/JavaPractise/src/javapractise/ButtonListener.java b/1401417015 AngelFlag/JavaPractise/src/javapractise/ButtonListener.java
new file mode 100644
index 0000000..7a0c6f8
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise/src/javapractise/ButtonListener.java
@@ -0,0 +1,22 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractise;
+
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+/**
+ *
+ * @author THE NET
+ */
+public class ButtonListener implements ActionListener {
+
+ @Override
+ public void actionPerformed(ActionEvent ae) {
+ System.out.println("ZDRASTI");
+ }
+
+}
diff --git a/1401417015 AngelFlag/JavaPractise/src/javapractise/JavaPractise.java b/1401417015 AngelFlag/JavaPractise/src/javapractise/JavaPractise.java
new file mode 100644
index 0000000..ac366b0
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise/src/javapractise/JavaPractise.java
@@ -0,0 +1,68 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractise;
+
+import java.awt.FlowLayout;
+import java.awt.GridLayout;
+import javax.swing.JButton;
+import javax.swing.JFrame;
+import javax.swing.JPanel;
+import javax.swing.JTextField;
+
+
+public class JavaPractise extends JFrame{
+
+
+ private static final long serialVersionUID = 1L;
+ public JButton button1 = new JButton("button1");
+ //2. TextField1 = vizualen komponent i dobavyame stoinost s ADD v konstruktora
+ //3. predi da dobavim koi komponenti dobavyame tryabva dakajeme koi layout. pak otivame v konstruktora
+ //4. suzdaveme oshte poleta
+ public JTextField TextField2 = new JTextField("second field",8);
+ public JTextField TextField3 = new JTextField("third field",8);
+ public JTextField TextField4 = new JTextField("fourth field",8);
+ public JTextField TextField5 = new JTextField("fifth field",8);
+ public JTextField TextField6 = new JTextField("sixth field",8);
+ public JTextField TextField7 = new JTextField("seventh field",8);
+ public JPanel panel = new JPanel();//Panel
+
+ public JavaPractise(){
+ super();
+ this.setSize(300, 300);
+ this.setLocation(640,500);
+ this.setLayout(new GridLayout(3,3));
+ this.add(button1);
+ this.add(TextField2);
+ this.add(TextField3);
+ this.add(TextField4);
+ this.add(TextField5);
+ //this.add(TextField6);
+ //this.add(TextField7);
+ this.add(panel);
+
+ panel.setLayout(new GridLayout(1,2));
+ panel.add(TextField6);
+ panel.add(TextField7);
+
+ button1.addActionListener(new ButtonListener()); //tryabva da suzdadem class i da go import kato interface(t.e, implement
+ }
+
+ public static void main(String[] args) {
+ JavaPractise Practise = new JavaPractise();
+ Practise.setVisible(true);
+ Practise.setDefaultCloseOperation(EXIT_ON_CLOSE);
+ //dotuk sme suzdali JFrame;
+ //JTextField(20)
+ //JButton("OK") - tova e string, koito potrebitelyat go vijda
+ //JLabel(" ")
+ //JComboBox(String[])
+ //JTable(array[],array[][]) - pravi tablica na ekrana
+ //suzdavame dve textovi poleta! start!, otivame nad construktora i pravim textovo pole JTextField1
+
+ //suzdavame button, tova e add. listener, dobavyame go sled dobavyaneto
+ }
+
+}
diff --git a/1401417015 AngelFlag/JavaPractise/src/javapractise/PrivatePerson.java b/1401417015 AngelFlag/JavaPractise/src/javapractise/PrivatePerson.java
new file mode 100644
index 0000000..f58f04f
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise/src/javapractise/PrivatePerson.java
@@ -0,0 +1,57 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractise;
+
+public class PrivatePerson {
+ protected String fName;
+ protected String lName;
+ protected int age;
+
+
+ public PrivatePerson(String f, String l, int a){
+ this.fName = f;
+ this.lName = l;
+ this.age = a;
+ }
+
+ public void printInfo() {
+ // TODO Auto-generated method stub
+ System.out.println("FName: " + fName + " |LName: "
+ + lName + " |Age: " + age);
+ }// end printInfo()
+
+
+ public String getfName() {
+ return fName;
+ }
+
+
+ public void setfName(String fName) {
+ this.fName = fName;
+ }
+
+
+ public String getlName() {
+ return lName;
+ }
+
+
+ public void setlName(String lName) {
+ this.lName = lName;
+ }
+
+
+ public int getAge() {
+ return age;
+ }
+
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+
+}// end class
diff --git a/1401417015 AngelFlag/JavaPractise1/build.xml b/1401417015 AngelFlag/JavaPractise1/build.xml
new file mode 100644
index 0000000..0ce3b13
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise1/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project JavaPractise1.
+
+
+
diff --git a/1401417015 AngelFlag/JavaPractise1/manifest.mf b/1401417015 AngelFlag/JavaPractise1/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise1/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/0000000000_StoyanCheresharov/JavaApplication1/src/javaapplication1/JavaApplication1.java b/1401417015 AngelFlag/JavaPractise1/src/javapractise1/JavaPractise1.java
similarity index 79%
rename from 0000000000_StoyanCheresharov/JavaApplication1/src/javaapplication1/JavaApplication1.java
rename to 1401417015 AngelFlag/JavaPractise1/src/javapractise1/JavaPractise1.java
index 88f6d7d..296fe74 100644
--- a/0000000000_StoyanCheresharov/JavaApplication1/src/javaapplication1/JavaApplication1.java
+++ b/1401417015 AngelFlag/JavaPractise1/src/javapractise1/JavaPractise1.java
@@ -1,22 +1,21 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package javaapplication1;
-
-/**
- *
- * @author fmi
- */
-public class JavaApplication1 {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- }
-
-}
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractise1;
+
+/**
+ *
+ * @author THE NET
+ */
+public class JavaPractise1 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ }
+
+}
diff --git a/1401417015 AngelFlag/JavaPractise1/src/javapractise1/Person.java b/1401417015 AngelFlag/JavaPractise1/src/javapractise1/Person.java
new file mode 100644
index 0000000..9da76ab
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise1/src/javapractise1/Person.java
@@ -0,0 +1,12 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractise1;
+
+
+public interface Person {
+
+ public void printInfo();
+}
diff --git a/1401417015 AngelFlag/JavaPractise1/src/javapractise1/PrivatePerson.java b/1401417015 AngelFlag/JavaPractise1/src/javapractise1/PrivatePerson.java
new file mode 100644
index 0000000..9c58cac
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractise1/src/javapractise1/PrivatePerson.java
@@ -0,0 +1,60 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractise1;
+
+
+public class PrivatePerson implements Person {
+
+ protected String fName;
+ protected String lName;
+ protected int age;
+
+
+ public PrivatePerson(String f, String l, int a){
+ this.fName = f;
+ this.lName = l;
+ this.age = a;
+ }
+
+ @Override
+ public void printInfo() {
+ // TODO Auto-generated method stub
+ System.out.println("FName: " + fName + " |LName: "
+ + lName + " |Age: " + age);
+ }// end printInfo()
+
+
+ public String getfName() {
+ return fName;
+ }
+
+
+ public void setfName(String fName) {
+ this.fName = fName;
+ }
+
+
+ public String getlName() {
+ return lName;
+ }
+
+
+ public void setlName(String lName) {
+ this.lName = lName;
+ }
+
+
+ public int getAge() {
+ return age;
+ }
+
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+
+}
diff --git a/1401417015 AngelFlag/JavaPractiseFrame/build.xml b/1401417015 AngelFlag/JavaPractiseFrame/build.xml
new file mode 100644
index 0000000..6ab4f02
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractiseFrame/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project JavaPractiseFrame.
+
+
+
diff --git a/1401417015 AngelFlag/JavaPractiseFrame/manifest.mf b/1401417015 AngelFlag/JavaPractiseFrame/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractiseFrame/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/JavaPractiseFrame/src/javapractiseframe/JavaPractiseFrame.java b/1401417015 AngelFlag/JavaPractiseFrame/src/javapractiseframe/JavaPractiseFrame.java
new file mode 100644
index 0000000..01f074e
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractiseFrame/src/javapractiseframe/JavaPractiseFrame.java
@@ -0,0 +1,55 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractiseframe;
+
+import java.awt.GridLayout;
+import javax.swing.JButton;
+import javax.swing.JFrame;
+import javax.swing.JTextField;
+
+
+public class JavaPractiseFrame extends JFrame
+{
+ private static final long serialVersionUID = 1L;
+
+ public Jpanel1 panel = new Jpanel1();
+ //public Jpanel2 panel = new Jpanel2();
+
+ public JTextField TextField2 = new JTextField("ADD",8);
+ public JTextField TextField3 = new JTextField("EDIT",8);
+ public JTextField TextField4 = new JTextField("DELETE",8);
+ public JTextField TextField5 = new JTextField("PRINT ALL",8);
+
+ public JButton button1 = new JButton();
+
+ public JavaPractiseFrame(){
+ super();
+ this.setSize(500,500);
+ this.setLocation(640,500);
+ this.setLayout(new GridLayout(2,3));
+ //this.add(panel);
+ this.add(TextField2);
+ this.add(TextField3);
+
+
+
+
+ //panel.setLayout(new GridLayout(3,3));
+ //panel.add(TextField2);
+ //panel.add(TextField3);
+ //panel.add(TextField4);
+
+
+ }
+ public static void main(String[] args) {
+ JavaPractiseFrame Practise = new JavaPractiseFrame();
+ Practise.setVisible(true);
+ Practise.setDefaultCloseOperation(EXIT_ON_CLOSE);
+
+ }
+ }
+
+
diff --git a/1401417015 AngelFlag/JavaPractiseFrame/src/javapractiseframe/Jpanel1.java b/1401417015 AngelFlag/JavaPractiseFrame/src/javapractiseframe/Jpanel1.java
new file mode 100644
index 0000000..9337fb9
--- /dev/null
+++ b/1401417015 AngelFlag/JavaPractiseFrame/src/javapractiseframe/Jpanel1.java
@@ -0,0 +1,22 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package javapractiseframe;
+
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+/**
+ *
+ * @author THE NET
+ */
+class Jpanel1 implements ActionListener{
+
+ @Override
+ public void actionPerformed(ActionEvent ae) {
+ System.out.println("SHTE STANE LI???????????");
+ }
+
+}
diff --git a/1401417015 AngelFlag/MyCalculator/build.xml b/1401417015 AngelFlag/MyCalculator/build.xml
new file mode 100644
index 0000000..3e943f2
--- /dev/null
+++ b/1401417015 AngelFlag/MyCalculator/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project MyCalculator.
+
+
+
diff --git a/1401417015 AngelFlag/MyCalculator/manifest.mf b/1401417015 AngelFlag/MyCalculator/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/MyCalculator/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/MyCalculator/src/MyCalculator/jCalculator.form b/1401417015 AngelFlag/MyCalculator/src/MyCalculator/jCalculator.form
new file mode 100644
index 0000000..44affc1
--- /dev/null
+++ b/1401417015 AngelFlag/MyCalculator/src/MyCalculator/jCalculator.form
@@ -0,0 +1,294 @@
+
+
+
diff --git a/1401417015 AngelFlag/MyCalculator/src/MyCalculator/jCalculator.java b/1401417015 AngelFlag/MyCalculator/src/MyCalculator/jCalculator.java
new file mode 100644
index 0000000..e681beb
--- /dev/null
+++ b/1401417015 AngelFlag/MyCalculator/src/MyCalculator/jCalculator.java
@@ -0,0 +1,397 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package MyCalculator;
+
+/**
+ *
+ * @author THE NET
+ */
+public class jCalculator extends javax.swing.JFrame {
+
+ private double total = 0;
+
+ /**
+ * Creates new form jCalculator
+ */
+ public jCalculator() {
+ initComponents();
+ }
+
+ /**
+ * This method is called from within the constructor to initialize the form.
+ * WARNING: Do NOT modify this code. The content of this method is always
+ * regenerated by the Form Editor.
+ */
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jScrollPane1 = new javax.swing.JScrollPane();
+ txtDisplay = new javax.swing.JTextArea();
+ jPanel1 = new javax.swing.JPanel();
+ Button1 = new javax.swing.JButton();
+ Button2 = new javax.swing.JButton();
+ Button3 = new javax.swing.JButton();
+ Button4 = new javax.swing.JButton();
+ Button5 = new javax.swing.JButton();
+ Button6 = new javax.swing.JButton();
+ Button7 = new javax.swing.JButton();
+ Button8 = new javax.swing.JButton();
+ Button9 = new javax.swing.JButton();
+ Button10 = new javax.swing.JButton();
+ jPanel2 = new javax.swing.JPanel();
+ btnEqual = new javax.swing.JButton();
+ btnPLUS = new javax.swing.JButton();
+ btnMinus = new javax.swing.JButton();
+ Clear = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ txtDisplay.setColumns(20);
+ txtDisplay.setRows(5);
+ jScrollPane1.setViewportView(txtDisplay);
+
+ Button1.setText("1");
+ Button1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button1ActionPerformed(evt);
+ }
+ });
+
+ Button2.setText("2");
+ Button2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button2ActionPerformed(evt);
+ }
+ });
+
+ Button3.setText("3");
+ Button3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button3ActionPerformed(evt);
+ }
+ });
+
+ Button4.setText("4");
+ Button4.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button4ActionPerformed(evt);
+ }
+ });
+
+ Button5.setText("5");
+ Button5.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button5ActionPerformed(evt);
+ }
+ });
+
+ Button6.setText("6");
+ Button6.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button6ActionPerformed(evt);
+ }
+ });
+
+ Button7.setText("7");
+ Button7.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button7ActionPerformed(evt);
+ }
+ });
+
+ Button8.setText("8");
+ Button8.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button8ActionPerformed(evt);
+ }
+ });
+
+ Button9.setText("9");
+ Button9.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button9ActionPerformed(evt);
+ }
+ });
+
+ Button10.setText("0");
+ Button10.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ Button10ActionPerformed(evt);
+ }
+ });
+
+ btnEqual.setText("=");
+ btnEqual.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnEqualActionPerformed(evt);
+ }
+ });
+
+ btnPLUS.setText("+");
+ btnPLUS.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnPLUSActionPerformed(evt);
+ }
+ });
+
+ btnMinus.setText("_");
+ btnMinus.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ btnMinusActionPerformed(evt);
+ }
+ });
+
+ Clear.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
+ Clear.setText("CL");
+ Clear.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ ClearActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(btnMinus, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(btnEqual, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(btnPLUS, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(0, 0, Short.MAX_VALUE))
+ .addComponent(Clear, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(btnEqual)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(btnPLUS)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(btnMinus)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(Clear)
+ .addGap(0, 19, Short.MAX_VALUE))
+ );
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(Button1)
+ .addGap(18, 18, 18)
+ .addComponent(Button2)
+ .addGap(18, 18, 18)
+ .addComponent(Button3))
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(Button4)
+ .addGap(18, 18, 18)
+ .addComponent(Button5)
+ .addGap(18, 18, 18)
+ .addComponent(Button6))
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(Button7)
+ .addGap(18, 18, 18)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(Button10)
+ .addComponent(Button8))
+ .addGap(18, 18, 18)
+ .addComponent(Button9)))
+ .addGap(12, 12, 12)
+ .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(Button1)
+ .addComponent(Button2)
+ .addComponent(Button3))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(Button4)
+ .addComponent(Button5)
+ .addComponent(Button6))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(Button7)
+ .addComponent(Button8)
+ .addComponent(Button9))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(Button10)
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(0, 11, Short.MAX_VALUE))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 256, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void Button2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button2ActionPerformed
+ String display = txtDisplay.getText() + "2";
+ txtDisplay.setText(display);
+// TODO add your handling code here:
+ }//GEN-LAST:event_Button2ActionPerformed
+
+ private void btnMinusActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnMinusActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_btnMinusActionPerformed
+
+ private void Button1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button1ActionPerformed
+ // TODO add your handling code here:
+ String display = txtDisplay.getText() + "1";
+ txtDisplay.setText(display);
+ }//GEN-LAST:event_Button1ActionPerformed
+
+ private void Button3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button3ActionPerformed
+ String display = txtDisplay.getText() + "3";
+ txtDisplay.setText(display); // TODO add your handling code here:
+ }//GEN-LAST:event_Button3ActionPerformed
+
+ private void Button4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button4ActionPerformed
+ String display = txtDisplay.getText() + "4";
+ txtDisplay.setText(display); // TODO add your handling code here:
+ }//GEN-LAST:event_Button4ActionPerformed
+
+ private void Button7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button7ActionPerformed
+ String display = txtDisplay.getText() + "7";
+ txtDisplay.setText(display); // TODO add your handling code here:
+ }//GEN-LAST:event_Button7ActionPerformed
+
+ private void Button5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button5ActionPerformed
+ String display = txtDisplay.getText() + "5";
+ txtDisplay.setText(display);
+ }//GEN-LAST:event_Button5ActionPerformed
+
+ private void Button9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button9ActionPerformed
+ String display = txtDisplay.getText() + "7";
+ txtDisplay.setText(display); // TODO add your handling code here:
+ }//GEN-LAST:event_Button9ActionPerformed
+
+ private void Button8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button8ActionPerformed
+ String display = txtDisplay.getText() + "8";
+ txtDisplay.setText(display);
+ }//GEN-LAST:event_Button8ActionPerformed
+
+ private void Button6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button6ActionPerformed
+ String display = txtDisplay.getText() + "6";
+ txtDisplay.setText(display);
+ }//GEN-LAST:event_Button6ActionPerformed
+
+ private void Button10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Button10ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_Button10ActionPerformed
+
+ private void btnPLUSActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPLUSActionPerformed
+ total += Double.parseDouble(txtDisplay.getText());
+ txtDisplay.setText("");// TODO add your handling code here:
+ }//GEN-LAST:event_btnPLUSActionPerformed
+
+ private void ClearActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ClearActionPerformed
+ total = 0;
+ txtDisplay.setText();
+ // TODO add your handling code here:
+ }//GEN-LAST:event_ClearActionPerformed
+
+ private void btnEqualActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEqualActionPerformed
+
+ double current = Double.parseDouble(txtDisplay.getText());
+ total += current;
+ txtDisplay.setText(Double.toString(total));
+
+ txtDisplay.setText(Double.toString(total) + current);
+// TODO add your handling code here:
+ }//GEN-LAST:event_btnEqualActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(jCalculator.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(jCalculator.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(jCalculator.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(jCalculator.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new jCalculator().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton Button1;
+ private javax.swing.JButton Button10;
+ private javax.swing.JButton Button2;
+ private javax.swing.JButton Button3;
+ private javax.swing.JButton Button4;
+ private javax.swing.JButton Button5;
+ private javax.swing.JButton Button6;
+ private javax.swing.JButton Button7;
+ private javax.swing.JButton Button8;
+ private javax.swing.JButton Button9;
+ private javax.swing.JButton Clear;
+ private javax.swing.JButton btnEqual;
+ private javax.swing.JButton btnMinus;
+ private javax.swing.JButton btnPLUS;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ private javax.swing.JScrollPane jScrollPane1;
+ private javax.swing.JTextArea txtDisplay;
+ // End of variables declaration//GEN-END:variables
+}
diff --git a/1401417015 AngelFlag/Mybody/build.xml b/1401417015 AngelFlag/Mybody/build.xml
new file mode 100644
index 0000000..cae3171
--- /dev/null
+++ b/1401417015 AngelFlag/Mybody/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Mybody.
+
+
+
diff --git a/1401417015 AngelFlag/Mybody/manifest.mf b/1401417015 AngelFlag/Mybody/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/Mybody/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/Mybody/src/mybody/Mybody.java b/1401417015 AngelFlag/Mybody/src/mybody/Mybody.java
new file mode 100644
index 0000000..2bd94c4
--- /dev/null
+++ b/1401417015 AngelFlag/Mybody/src/mybody/Mybody.java
@@ -0,0 +1,27 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package mybody;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Mybody {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ Person Angel = new Person();
+ //Angel.name ="Angel";
+ //Angel.age = 33;
+ Angel.setName("Angel");
+ Angel.setAge(33);
+
+ System.out.println("I am a person!" + "My name is:" + Angel.getName() + " и съм на " + Angel.getAge() +"Години");
+ }
+
+}
diff --git a/1401417015 AngelFlag/Mybody/src/mybody/Person_1.java b/1401417015 AngelFlag/Mybody/src/mybody/Person_1.java
new file mode 100644
index 0000000..1fd3ef1
--- /dev/null
+++ b/1401417015 AngelFlag/Mybody/src/mybody/Person_1.java
@@ -0,0 +1,33 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package mybody;
+
+/**
+ *
+ * @author THE NET
+ */
+class Person {
+ private String name;
+ private int age;
+
+ // Name
+ public String getName(){
+ return name;
+ }
+
+ public void setName(String name){
+ this.name= name;
+ }
+ public int getAge(){
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age=age;
+ }
+}
+
+
diff --git a/1401417015 AngelFlag/Mybody/src/mybody/person.java b/1401417015 AngelFlag/Mybody/src/mybody/person.java
new file mode 100644
index 0000000..3caefc2
--- /dev/null
+++ b/1401417015 AngelFlag/Mybody/src/mybody/person.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package mybody;
+
+/**
+ *
+ * @author THE NET
+ */
+class person {
+
+}
diff --git a/1401417015 AngelFlag/SquareTriangleP/build.xml b/1401417015 AngelFlag/SquareTriangleP/build.xml
new file mode 100644
index 0000000..f7a6e31
--- /dev/null
+++ b/1401417015 AngelFlag/SquareTriangleP/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project SquareTriangleP.
+
+
+
diff --git a/1401417015 AngelFlag/SquareTriangleP/manifest.mf b/1401417015 AngelFlag/SquareTriangleP/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/SquareTriangleP/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Figure.java b/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Figure.java
new file mode 100644
index 0000000..586e6e7
--- /dev/null
+++ b/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Figure.java
@@ -0,0 +1,15 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package squaretrianglep;
+
+/**
+ *
+ * @author THE NET
+ */
+public abstract class Figure {
+
+ public abstract double P( );
+}
diff --git a/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Square.java b/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Square.java
new file mode 100644
index 0000000..d54f48a
--- /dev/null
+++ b/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Square.java
@@ -0,0 +1,21 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package squaretrianglep;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Square extends Figure{
+ private double a=1.0;
+ public Square(double a){
+ this.a=a;}
+ public double P(){return 4.0*a;}
+ public String toString()
+ {return "Квадрат със страна " + a + " и периметър " +P() + ".";}
+
+
+ }
diff --git a/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/SquareTriangleP.java b/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/SquareTriangleP.java
new file mode 100644
index 0000000..688e03f
--- /dev/null
+++ b/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/SquareTriangleP.java
@@ -0,0 +1,36 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package squaretrianglep;
+
+import java.awt.BorderLayout;
+
+/**
+ *
+ * @author THE NET
+ */
+public class SquareTriangleP {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ //Да се създадат обекти квадрат със страна 1,5 и триъгълник със страни 3, 4 и 5.
+ //Да се изведат данните за двете фигури.
+ //Да се дефинира функция за намиране сумата от периметрите на две дадени фигури,
+ //всяка от които може да бъде и квадрат, и триъгълник.
+ //Да се изведе сумата от периметрите на създадените квадрат и триъгълник.
+ // TODO code application logic here
+ Square S = new Square(1.5);
+ Triangle T = new Triangle(3.0,4.0,5.0);
+ System.out.println(S);
+ System.out.println(T);
+ System.out.println("Сумата от периметрите е " + SumP(S,T));
+ }
+ public static double SumP( Figure F1, Figure F2 )
+ { return F1.P()+F2.P(); }
+
+ }
+
diff --git a/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Triangle.java b/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Triangle.java
new file mode 100644
index 0000000..6236b69
--- /dev/null
+++ b/1401417015 AngelFlag/SquareTriangleP/src/squaretrianglep/Triangle.java
@@ -0,0 +1,19 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package squaretrianglep;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Triangle extends Figure {
+ private double a=1.0 , b=1.0 , c=1.0;
+public Triangle( double a , double b , double c ) { this.a=a; this.b=b; this.c=c; }
+public double P( ) { return a+b+c; }
+public String toString( ) {
+return "Триъгълник със страни "+a+", "+b+" и "+c+" и периметър "+P()+".";
+ }
+}
diff --git a/1401417015 AngelFlag/animals/build.xml b/1401417015 AngelFlag/animals/build.xml
new file mode 100644
index 0000000..6b23ea5
--- /dev/null
+++ b/1401417015 AngelFlag/animals/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project animalCheresharov.
+
+
+
diff --git a/1401417015 AngelFlag/animals/manifest.mf b/1401417015 AngelFlag/animals/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/animals/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/animals/src/animals/Animal.java b/1401417015 AngelFlag/animals/src/animals/Animal.java
new file mode 100644
index 0000000..11d6bf2
--- /dev/null
+++ b/1401417015 AngelFlag/animals/src/animals/Animal.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package animals;
+
+
+public class Animal {
+ public void makeNoise() {
+ System.out.println("Grrrrrrrrr");
+ }
+}
+
\ No newline at end of file
diff --git a/1401417015 AngelFlag/animals/src/animals/Animals.java b/1401417015 AngelFlag/animals/src/animals/Animals.java
new file mode 100644
index 0000000..9ce8bf9
--- /dev/null
+++ b/1401417015 AngelFlag/animals/src/animals/Animals.java
@@ -0,0 +1,36 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package animals;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Animals {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ Animal[] myAnimals = new Animal[5];
+ Animal fluffy = new Cat();
+ Animal sharo = new Dog();
+
+ // fluffy.onlyForCat();
+
+ myAnimals[0] = fluffy;
+ myAnimals[1] = sharo;
+
+ myAnimals[0].makeNoise();
+ myAnimals[1].makeNoise();
+
+ fluffy.makeNoise();
+ sharo.makeNoise();
+
+ }
+
+}
diff --git a/1401417015 AngelFlag/animals/src/animals/Cat.java b/1401417015 AngelFlag/animals/src/animals/Cat.java
new file mode 100644
index 0000000..b337f42
--- /dev/null
+++ b/1401417015 AngelFlag/animals/src/animals/Cat.java
@@ -0,0 +1,23 @@
+w/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package animals;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Cat extends Animal {
+
+ @Override
+ public void makeNoise() {
+ System.out.println("Miauuuuuuu");
+ }
+
+// public void onlyForCat(){
+// System.out.println("Cat Only");
+// }
+
+}
diff --git a/1401417015 AngelFlag/animals/src/animals/Dog.java b/1401417015 AngelFlag/animals/src/animals/Dog.java
new file mode 100644
index 0000000..ee199ee
--- /dev/null
+++ b/1401417015 AngelFlag/animals/src/animals/Dog.java
@@ -0,0 +1,20 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package animals;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Dog extends Animal{
+
+ @Override
+ public void makeNoise() {
+ super.makeNoise();
+ System.out.println("Woof");
+ }
+
+}
diff --git a/0000000000_StoyanCheresharov/ArrayList2/build.xml b/1401417015 AngelFlag/bigdecimal/build.xml
similarity index 93%
rename from 0000000000_StoyanCheresharov/ArrayList2/build.xml
rename to 1401417015 AngelFlag/bigdecimal/build.xml
index 72913d7..3e16295 100644
--- a/0000000000_StoyanCheresharov/ArrayList2/build.xml
+++ b/1401417015 AngelFlag/bigdecimal/build.xml
@@ -1,73 +1,73 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project ArrayList2.
-
-
-
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project bigdecimal.
+
+
+
diff --git a/1401417015 AngelFlag/bigdecimal/manifest.mf b/1401417015 AngelFlag/bigdecimal/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/bigdecimal/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/bigdecimal/src/bigdecimal/Bigdecimal.java b/1401417015 AngelFlag/bigdecimal/src/bigdecimal/Bigdecimal.java
new file mode 100644
index 0000000..b463317
--- /dev/null
+++ b/1401417015 AngelFlag/bigdecimal/src/bigdecimal/Bigdecimal.java
@@ -0,0 +1,29 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package bigdecimal;
+
+/**
+ *
+ * @author THE NET
+ */
+import java.math.BigDecimal;
+public class Bigdecimal {
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ double sum = 0.0d;
+ BigDecimal bdValue = new BigDecimal("0.1");
+ BigDecimal bdSum = new BigDecimal("0.0");
+ for(int i=1; i<=10; i++) {
+ sum += 0.1d;
+ bdSum = bdSum.add(bdValue);
+}
+ System.out.println("Double sum is: " + sum);
+ System.out.println("BigDecimal sum is: " + bdSum);
+
+ }
+}
diff --git a/1401417015 AngelFlag/cat/build.xml b/1401417015 AngelFlag/cat/build.xml
new file mode 100644
index 0000000..45e3f89
--- /dev/null
+++ b/1401417015 AngelFlag/cat/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project cat.
+
+
+
diff --git a/1401417015 AngelFlag/cat/manifest.mf b/1401417015 AngelFlag/cat/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/cat/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/cat/src/cat/cat.java b/1401417015 AngelFlag/cat/src/cat/cat.java
new file mode 100644
index 0000000..e0f905c
--- /dev/null
+++ b/1401417015 AngelFlag/cat/src/cat/cat.java
@@ -0,0 +1,47 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package cat;
+
+/**
+ *
+ * @author THE NET
+ */
+public class cat {
+
+ private String name;
+ private String color;
+
+ cat(String johny, String green) {
+ throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
+ }
+
+ public String getName() {
+ return this.name;
+ }
+ public void setName(String name) {
+ this.name = name;
+ }
+ public String getColor() {
+ return this.color;
+ }
+
+ public void setColor(String color) {
+ this.color = color;
+ }
+
+ public cat(){
+ this.name= "Lisi";
+ this.color= "gray";
+ }
+
+ /**
+ *
+ */
+ public void sayMiau(){
+ System.out.printf("Cat %s said: Miauuuuuu!%n", name);
+ }
+
+ }
\ No newline at end of file
diff --git a/1401417015 AngelFlag/cat/src/cat/catManip.java b/1401417015 AngelFlag/cat/src/cat/catManip.java
new file mode 100644
index 0000000..ca65b71
--- /dev/null
+++ b/1401417015 AngelFlag/cat/src/cat/catManip.java
@@ -0,0 +1,18 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package cat;
+
+/**
+ *
+ * @author THE NET
+ */
+public class catManip {
+ public static void main(String[] args) {
+ cat method = new cat("johny", "green");
+ System.out.println(method);
+
+ }
+}
diff --git a/1401417015 AngelFlag/course/build.xml b/1401417015 AngelFlag/course/build.xml
new file mode 100644
index 0000000..0fe5937
--- /dev/null
+++ b/1401417015 AngelFlag/course/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project course.
+
+
+
diff --git a/1401417015 AngelFlag/course/manifest.mf b/1401417015 AngelFlag/course/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/course/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/course/src/course/Course.java b/1401417015 AngelFlag/course/src/course/Course.java
new file mode 100644
index 0000000..a6200c9
--- /dev/null
+++ b/1401417015 AngelFlag/course/src/course/Course.java
@@ -0,0 +1,49 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package course;
+
+/**
+ *
+ * @author THE NET
+ */
+import java.util.Scanner;
+
+//Дефинирайте клас който отразява човек.
+//За решаване на конкретен проблем от всички характерситики на човека ни интересуват име,
+//фамилия и години. Класът трябва да съдържа функционалност,
+//която позволява на всеки конкретен обект
+//от този клас да се представи с името, фамилията и възрастта си.
+public class Course {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ Scanner Keyboard= new Scanner(System.in);
+
+ System.out.println("Какво е вашето име?");
+ String Name = Keyboard.nextLine();
+
+ System.out.println("Каква е вашата фамилия?");
+ String Family = Keyboard.nextLine();
+
+ System.out.println("На колко години сте?");
+ int Age = Keyboard.nextInt();
+
+
+ Person();
+ }
+
+
+ public static void Person() {
+ String Name = ("Angel");
+ int Age = 33;
+
+ System.out.print("Моето име е:" + Name + " И съм на " + Age + "Години");
+ }
+}
+
+
\ No newline at end of file
diff --git a/1401417015 AngelFlag/course/src/course/Int.java b/1401417015 AngelFlag/course/src/course/Int.java
new file mode 100644
index 0000000..ad60180
--- /dev/null
+++ b/1401417015 AngelFlag/course/src/course/Int.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package course;
+
+/**
+ *
+ * @author THE NET
+ */
+class Int {
+
+}
diff --git a/1401417015 AngelFlag/course/src/course/Person.java b/1401417015 AngelFlag/course/src/course/Person.java
new file mode 100644
index 0000000..3cb1fef
--- /dev/null
+++ b/1401417015 AngelFlag/course/src/course/Person.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package course;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Person {
+
+}
diff --git a/1401417015 AngelFlag/darek19/build.xml b/1401417015 AngelFlag/darek19/build.xml
new file mode 100644
index 0000000..acb9c37
--- /dev/null
+++ b/1401417015 AngelFlag/darek19/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project darek19.
+
+
+
diff --git a/1401417015 AngelFlag/darek19/manifest.mf b/1401417015 AngelFlag/darek19/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/darek19/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/darek19/src/darek19/Darek19.java b/1401417015 AngelFlag/darek19/src/darek19/Darek19.java
new file mode 100644
index 0000000..87ed18c
--- /dev/null
+++ b/1401417015 AngelFlag/darek19/src/darek19/Darek19.java
@@ -0,0 +1,134 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek19;
+
+import java.util.regex.*;
+public class Darek19 {
+
+
+public static void main(String[] args) {
+
+ String longString = " Derek Banas CA 12345 PA (412)555-1212 johnsmith@hotmail.com 412-555-1234 412 555-1234 ";
+ String strangeString = " 1Z aaa **** *** {{{ {{ { ";
+
+ /*
+ [ ] Insert characters that are valid
+ [^ ] Insert characters that are not valid
+ \\s Any white space
+ \\S Any non white space
+ {n,m} Whatever proceeds must occur between n and m times
+ */
+
+ // Word must contain letters that are 2 to 20 characters in length
+ // [A-Za-z]{2,20} 0r \w{2,20}
+
+ regexChecker("\\s[A-Za-z]{2,20}\\s", longString);
+
+ /*
+ \\d Any digits 0-9
+ \\D Anything not a number
+ {n} Whatever proceeds must occur n times
+ */
+
+ // Only 5 digits
+ // \\s[0-9]{5}\\s or \\d{5}
+
+ regexChecker("\\s\\d{5}\\s", longString);
+
+ /*
+ | Is used for OR clause situations
+ */
+
+ // Must start with a A or C, followed by 1 letter in brackets
+ // Must be a maximum of 2 characters in length
+ // A[KLRZ]|C[AOT]
+
+ regexChecker("A[KLRZ]|C[AOT]", longString);
+
+ /*
+ {n,} Whatever proceeds must occur at least n times
+ + Whatever proceeds must occur one or more times
+ . ^ * + ? { } [ ] \ | ( ) Characters that must be escaped or backslashed
+ */
+
+ // Grab any string that contains 1 or more !
+
+ regexChecker("(\\{{1,})", strangeString);
+ regexChecker("(\\{+)", strangeString);
+
+ // Get anything that occurs 3 times except newline
+ // . Anything but newline
+
+ regexChecker(".{3}", strangeString);
+
+ /*
+ \\w Any word type character A-Z, a-z, 0-9, _
+ \\W Any non word character
+ * Occurs zero or more times
+ */
+
+ regexChecker("\\w*", strangeString);
+
+ regexChecker("[A-Za-z0-9._\\%-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}", longString);
+
+
+ // ? 0 or 1 of what proceeds it
+
+ regexChecker("([0-9]( |-)?)?(\\(?[0-9]{3}\\)?|[0-9]{3})( |-)?([0-9]{3}( |-)?[0-9]{4}|[a-zA-Z0-9]{7})", longString);
+
+ regexReplace(longString);
+
+ }
+
+ public static void regexChecker(String theRegex, String str2Check){
+
+ // You define your regular expression (REGEX) using Pattern
+
+ Pattern checkRegex = Pattern.compile(theRegex);
+
+ // Creates a Matcher object that searches the String for
+ // anything that matches the REGEX
+
+ Matcher regexMatcher = checkRegex.matcher( str2Check );
+
+ // Cycle through the positive matches and print them to screen
+ // Make sure string isn't empty and trim off any whitespace
+
+ while ( regexMatcher.find() ){
+ if (regexMatcher.group().length() != 0){
+ System.out.println( regexMatcher.group().trim() );
+
+ // You can get the starting and ending indexs
+
+ System.out.println( "Start Index: " + regexMatcher.start());
+ System.out.println( "Start Index: " + regexMatcher.end());
+ }
+ }
+
+ System.out.println();
+ }
+
+ public static void regexReplace(String str2Replace){
+
+ // REGEX that matches 1 or more white space
+
+ Pattern replace = Pattern.compile("\\s+");
+
+ // This doesn't really apply, but this is how you ignore case
+ // Pattern replace = Pattern.compile("\\s+", Pattern.CASE_INSENSITIVE);
+
+ // trim the string t prepare it for a replace
+
+ Matcher regexMatcher = replace.matcher(str2Replace.trim());
+
+ // replaceAll replaces all white space with commas
+
+ System.out.println(regexMatcher.replaceAll(", "));
+
+ }
+}
+
+
diff --git a/1401417015 AngelFlag/darek2/build.xml b/1401417015 AngelFlag/darek2/build.xml
new file mode 100644
index 0000000..778cdda
--- /dev/null
+++ b/1401417015 AngelFlag/darek2/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project darek2.
+
+
+
diff --git a/1401417015 AngelFlag/darek2/manifest.mf b/1401417015 AngelFlag/darek2/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/darek2/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/darek2/src/darek2/Darek2.java b/1401417015 AngelFlag/darek2/src/darek2/Darek2.java
new file mode 100644
index 0000000..f5b91fb
--- /dev/null
+++ b/1401417015 AngelFlag/darek2/src/darek2/Darek2.java
@@ -0,0 +1,32 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek2;
+
+import java.util.Scanner;
+
+public class Darek2 {
+
+ static Scanner userInput = new Scanner(System.in);
+
+ public static void main(String[] args) {
+ System.out.println("Your favorite number: ");
+
+ if(userInput.hasNextInt()){
+
+ int numberEntered = userInput.nextInt();
+
+ System.out.println("you entered: " + numberEntered);
+
+ int numberEntered2 = numberEntered + numberEntered;
+ System.out.println(numberEntered + "+" + numberEntered + "=" + numberEntered2);
+
+ }
+ else {
+ System.out.println("Enter an integer next time");
+
+ }
+ }
+ }
diff --git a/1401417015 AngelFlag/darek3/build.xml b/1401417015 AngelFlag/darek3/build.xml
new file mode 100644
index 0000000..42f8980
--- /dev/null
+++ b/1401417015 AngelFlag/darek3/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project darek3.
+
+
+
diff --git a/1401417015 AngelFlag/darek3/manifest.mf b/1401417015 AngelFlag/darek3/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/darek3/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/darek3/src/darek3/Darek3.java b/1401417015 AngelFlag/darek3/src/darek3/Darek3.java
new file mode 100644
index 0000000..7005409
--- /dev/null
+++ b/1401417015 AngelFlag/darek3/src/darek3/Darek3.java
@@ -0,0 +1,40 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek3;
+
+
+ public class Darek3 {
+
+ public static void main(String[] args) {
+
+ int randomNumber = (int)(Math.random() * 50);
+
+ if (randomNumber < 25){
+ System.out.println("The randomNumber is less than 25");
+ }
+
+ else if (randomNumber > 40){
+ System.out.println("The randomNumber is bigger than 40");
+ }
+
+ else if (randomNumber == 18){
+ System.out.println("The randomNumber is equal to 18");
+ }
+
+ else if (randomNumber != 40){
+ System.out.println("The randomNumber is not equal to 40");
+ }
+
+ else if (randomNumber > 40){
+ System.out.println("The randomNumber is bigger than 40");
+ }
+ else {
+ System.out.println("Nothing worked");
+ }
+ System.out.println("The randomNumber is " + randomNumber);
+ }
+
+}
diff --git a/1401417015 AngelFlag/darek4/build.xml b/1401417015 AngelFlag/darek4/build.xml
new file mode 100644
index 0000000..8d1a86a
--- /dev/null
+++ b/1401417015 AngelFlag/darek4/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project darek4.
+
+
+
diff --git a/1401417015 AngelFlag/darek4/manifest.mf b/1401417015 AngelFlag/darek4/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/darek4/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/darek4/src/darek4/Darek4.java b/1401417015 AngelFlag/darek4/src/darek4/Darek4.java
new file mode 100644
index 0000000..dd166ca
--- /dev/null
+++ b/1401417015 AngelFlag/darek4/src/darek4/Darek4.java
@@ -0,0 +1,51 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek4;
+
+import java.util.Scanner;
+
+public class Darek4 {
+
+ static Scanner userInput = new Scanner(System.in);
+
+ public static void main(String[] args) {
+ int i = 0;
+
+ while(i<=20){
+ if (i==3){
+ i+=2;
+ continue;
+ }
+ System.out.println(i);
+ i++;
+
+ if((i%2)==0)
+ {
+ i++;
+ }
+ if (i>10){
+ break;
+ }
+ }
+ m1();
+ }
+ public static void m1(){
+
+ String contYorN = "Y";
+
+ int h = 1;
+
+ while(contYorN.equalsIgnoreCase("y"))
+ {
+ System.out.println(h);
+ System.out.println("Continue Y or N?");
+ contYorN = userInput.nextLine();
+ h++;
+
+
+ }
+ }
+}
diff --git a/1401417015 AngelFlag/darek7/build.xml b/1401417015 AngelFlag/darek7/build.xml
new file mode 100644
index 0000000..ca32dab
--- /dev/null
+++ b/1401417015 AngelFlag/darek7/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project darek7.
+
+
+
diff --git a/1401417015 AngelFlag/darek7/manifest.mf b/1401417015 AngelFlag/darek7/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/darek7/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/darek7/src/darek6/Darek7Monster.java b/1401417015 AngelFlag/darek7/src/darek6/Darek7Monster.java
new file mode 100644
index 0000000..8229d4d
--- /dev/null
+++ b/1401417015 AngelFlag/darek7/src/darek6/Darek7Monster.java
@@ -0,0 +1,71 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek6;
+
+public class Darek7Monster {
+
+ public final String TOMBSTONE = "HERE LIES A DEAD MONSTER";
+
+ private int health = 500;
+ private int attack = 20;
+ private int movement = 2;
+ //private int xPosition = 0;
+ //private int yPosition =0;
+ private boolean alive = true;
+
+ public String name = "Big monster";
+
+ public int getAttack(){
+ return attack;
+ }
+
+ public int getMovement(){
+ return movement;
+ }
+
+ public int getHealth(){
+ return health;
+ }
+
+ public void setHealth(int decreaseHealth)
+ {
+ health = health - decreaseHealth;
+ if(health <0)
+ {
+ alive = false;
+ }
+ }
+
+ public void setHealth(double decrease)
+ {
+ int intDecreaseHealth = (int) decreaseHealth;
+ health = health - intDecreaseHealth;
+ if (health < 0)
+ {
+ alive = false;
+ }
+ }
+
+ public Darek7Monster(int health, int attack, int movement)
+ {
+ this.health = newHealth;
+ this.attack = newAttack;
+ this.movement = newMovement;
+
+ }
+ //default Constructor
+ public Darek7Monster()
+ {
+
+ }
+
+ public static void main(String[] args){
+ Darek7Monster Frank = new Darek7Monster();
+
+ System.out.println(Frank.attack);
+ System.out.println(Frank.health);
+ }
+}
diff --git a/1401417015 AngelFlag/darek7/src/darek6/Monster1.java b/1401417015 AngelFlag/darek7/src/darek6/Monster1.java
new file mode 100644
index 0000000..266271a
--- /dev/null
+++ b/1401417015 AngelFlag/darek7/src/darek6/Monster1.java
@@ -0,0 +1,23 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darek6;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Monster1 {
+
+ public static void main(String[] args)
+ {
+ Darek7Monster Frank = new Darek7Monster();
+
+ Frank.name = "Frank";
+
+ System.out.println(Frank.name+ " has an attack of " + Frank.getAttack());
+ System.out.println(Frank.name+ "has health of " + Frank.getHealth());
+ }
+}
diff --git a/1401417015 AngelFlag/darekAnimal/build.xml b/1401417015 AngelFlag/darekAnimal/build.xml
new file mode 100644
index 0000000..5007ba7
--- /dev/null
+++ b/1401417015 AngelFlag/darekAnimal/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project darekAnimal.
+
+
+
diff --git a/1401417015 AngelFlag/darekAnimal/manifest.mf b/1401417015 AngelFlag/darekAnimal/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/darekAnimal/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/darekAnimal/src/darekanimal/Animal.java b/1401417015 AngelFlag/darekAnimal/src/darekanimal/Animal.java
new file mode 100644
index 0000000..20de322
--- /dev/null
+++ b/1401417015 AngelFlag/darekAnimal/src/darekanimal/Animal.java
@@ -0,0 +1,41 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darekanimal;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Animal {
+
+ private String name = "Animal";
+ public String favFood = "Food";
+
+ protected final void changeName(String newName){
+ this.name = newName;
+
+ }
+ protected final String getName(){
+ return this.name;
+ }
+ public void eatStuff(){
+ System.out.println("Yum " + favFood);
+ }
+
+ public void walkAround(){
+ System.out.println(this.name + "walks around");
+ }
+
+ public Animal(){
+
+ }
+
+ public Animal(String name, String favFood){
+ this.changeName(name);
+ this.favFood = favFood;
+ }
+
+}
diff --git a/1401417015 AngelFlag/darekAnimal/src/darekanimal/Cat.java b/1401417015 AngelFlag/darekAnimal/src/darekanimal/Cat.java
new file mode 100644
index 0000000..9f8500e
--- /dev/null
+++ b/1401417015 AngelFlag/darekAnimal/src/darekanimal/Cat.java
@@ -0,0 +1,34 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darekanimal;
+
+public class Cat extends Animal{
+
+ public String favToy = "Yarn";
+
+ public void playWith(){
+ System.out.println("Yeah " + favToy);
+ }
+
+ public void walkAround(){
+
+ System.out.println(this.getName() + "stalks around then sleeps ");
+ }
+
+
+ public String getToy(){
+ return this.favToy;
+}
+
+ public Cat(){
+
+ }
+
+ public Cat(String name, String favFood, String favToy){
+ super(name,favFood);
+ this.favToy = favToy;
+ }
+}
diff --git a/1401417015 AngelFlag/darekAnimal/src/darekanimal/DarekAnimal.java b/1401417015 AngelFlag/darekAnimal/src/darekanimal/DarekAnimal.java
new file mode 100644
index 0000000..34d6548
--- /dev/null
+++ b/1401417015 AngelFlag/darekAnimal/src/darekanimal/DarekAnimal.java
@@ -0,0 +1,49 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package darekanimal;
+
+
+public class DarekAnimal {
+
+ public static void main(String[] args) {
+
+ Animal genericAnimal = new Animal();
+
+ System.out.println(genericAnimal.getName());
+ System.out.println(genericAnimal.favFood);
+
+ Cat morris = new Cat("Morris", "Tuna", "Rubber mouse");
+
+ System.out.println(morris.getName());
+ System.out.println(morris.favFood);
+ System.out.println(morris.favToy);
+
+ Animal tabby = new Cat("Tabby", "Salmon", "Ball");
+
+ acceptAnimal(tabby);
+ }
+ public static void acceptAnimal(Animal randAnimal){
+ System.out.println();
+ System.out.println(randAnimal.getName());
+ System.out.println(randAnimal.favFood);
+ System.out.println();
+
+ randAnimal.walkAround();
+
+ System.out.println(randAnimal.favFood);
+ Cat tempCat = (Cat) randAnimal;
+ System.out.println(tempCat.favToy);
+
+ System.out.println(((Cat)randAnimal).favToy);
+ // ((Cat)randAnimal)
+ if( randAnimal instanceof Cat){
+ System.out.println(randAnimal.getName() + "is a Cat");
+ }
+ }
+}
+
+
+
diff --git a/1401417015 AngelFlag/datatype/build.xml b/1401417015 AngelFlag/datatype/build.xml
new file mode 100644
index 0000000..4b9f932
--- /dev/null
+++ b/1401417015 AngelFlag/datatype/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project datatype.
+
+
+
diff --git a/1401417015 AngelFlag/datatype/manifest.mf b/1401417015 AngelFlag/datatype/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/datatype/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/datatype/src/datatype/Datatype.java b/1401417015 AngelFlag/datatype/src/datatype/Datatype.java
new file mode 100644
index 0000000..93b6053
--- /dev/null
+++ b/1401417015 AngelFlag/datatype/src/datatype/Datatype.java
@@ -0,0 +1,43 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package datatype;
+
+import java.io.IOException;
+import java.util.*;
+
+ public class Datatype {
+
+ public static void main(String[] args) throws IOException {
+
+ byte myByte = 2;
+ short myShort = 257;
+ int myInt = -123;
+ long myLong = 123L;
+ float myFloat = 2.34F;
+ double myDouble =2.54;
+ char myChar = 'c';
+ boolean myBoolean = true; //false;
+ String myName = " Stoyan";
+
+ System.out.println(myName);
+ System.out.print(myName);
+
+ int ch;
+ ch= System.in.read();
+ {
+ double sum = 0.0;
+ for(int i=1; i<=10; i++)
+ {
+ sum += 0.1;
+ {
+System.out.println(sum);
+ }
+ }
+
+ }
+ }}
+
+
\ No newline at end of file
diff --git a/1401417015 AngelFlag/exam1Stoyan/build.xml b/1401417015 AngelFlag/exam1Stoyan/build.xml
new file mode 100644
index 0000000..dfaaa75
--- /dev/null
+++ b/1401417015 AngelFlag/exam1Stoyan/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1Stoyan.
+
+
+
diff --git a/1401417015 AngelFlag/exam1Stoyan/manifest.mf b/1401417015 AngelFlag/exam1Stoyan/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1Stoyan/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Cilinder.java b/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Cilinder.java
new file mode 100644
index 0000000..fe6dd5a
--- /dev/null
+++ b/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Cilinder.java
@@ -0,0 +1,41 @@
+package exam1stoyan;
+
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+/**
+ *
+ * @author THE NET
+ */
+public class Cilinder implements calculateable {
+
+ private double r;
+ private double h;
+
+ @Override
+ public void readParameters() {
+ System.out.print("\nPlease enter r: ");
+ System.out.println("");
+ r = Exam1Stoyan.input.nextDouble();
+ System.out.print("\nPlease enter h: ");
+ System.out.println("");
+ h = Exam1Stoyan.input.nextDouble();
+ System.out.println("\n Obemat e: ");
+ //System.out.println("obemat e:" + calculateV);
+ }
+
+ @Override
+ public double calculateV() {
+ return Math.PI *(r * r) *h;
+ }
+////Ако прав кръгов цилиндър има височина h и радиус r, то обемът му се дава с формулата
+ //V = \PI r^2 h,
+
+
+
+
+}
+
diff --git a/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Exam1Stoyan.java b/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Exam1Stoyan.java
new file mode 100644
index 0000000..d568528
--- /dev/null
+++ b/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Exam1Stoyan.java
@@ -0,0 +1,30 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1stoyan;
+import java.util.Scanner;
+
+public class Exam1Stoyan {
+ public static Scanner input=new Scanner(System.in);
+
+ //Чрез диалог да се избере или куб, или цилиндър. Какъвто и да е изборът, чрез
+ //един и същ програмен код да се въведат размерите на фигурата и да се изведе обемът й.
+ //Обем на куб V \, = \, a^3 \, = \, a . a . a
+ //
+ //Ако прав кръгов цилиндър има височина h и радиус r, то обемът му се дава с формулата
+ //V = \PI r^2 h,
+ public static void main(String[] args) {
+ System.out.println("Please choose the figure 1.Цилиндър, 2.Паралелепипед");
+ int choice = input.nextInt();
+
+ calculateable figure;
+ if (choice == 1) figure = new Cilinder();
+ else figure = new Paralelepiped();
+ figure.readParameters();
+ System.out.printf("%.2f", figure.calculateV());
+ }
+
+
+}
diff --git a/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Paralelepiped.java b/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Paralelepiped.java
new file mode 100644
index 0000000..37ebf72
--- /dev/null
+++ b/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/Paralelepiped.java
@@ -0,0 +1,38 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1stoyan;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Paralelepiped implements calculateable {
+
+ private double a;
+ private double b;
+ private double h;
+
+ @Override
+ public void readParameters() {
+ System.out.print("\n Please enter a: ");
+ a = Exam1Stoyan.input.nextDouble();
+
+ System.out.print("\n Please enter b: ");
+ b = Exam1Stoyan.input.nextDouble();
+
+ System.out.print("\n Please enter h: ");
+ h = Exam1Stoyan.input.nextDouble();
+ System.out.print("\n Обемът е: ");
+ }
+
+ @Override
+ public double calculateV() {
+ //return ((a+b)/2)*h;
+ return a*b*h;
+
+ }
+ }
+
diff --git a/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/calculateable.java b/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/calculateable.java
new file mode 100644
index 0000000..31c8cab
--- /dev/null
+++ b/1401417015 AngelFlag/exam1Stoyan/src/exam1stoyan/calculateable.java
@@ -0,0 +1,16 @@
+package exam1stoyan;
+
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+/**
+ *
+ * @author THE NET
+ */
+public interface calculateable {
+ void readParameters();
+ double calculateV();
+}
diff --git a/1401417015 AngelFlag/exam1_10/build.xml b/1401417015 AngelFlag/exam1_10/build.xml
new file mode 100644
index 0000000..ca0fa68
--- /dev/null
+++ b/1401417015 AngelFlag/exam1_10/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1_10.
+
+
+
diff --git a/1401417015 AngelFlag/exam1_10/manifest.mf b/1401417015 AngelFlag/exam1_10/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1_10/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1_10/src/exam1_10/Exam1_10.java b/1401417015 AngelFlag/exam1_10/src/exam1_10/Exam1_10.java
new file mode 100644
index 0000000..1582886
--- /dev/null
+++ b/1401417015 AngelFlag/exam1_10/src/exam1_10/Exam1_10.java
@@ -0,0 +1,44 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1_10;
+
+/**
+ *
+ * @author THE NET
+ */
+import java.util.Scanner;
+public class Exam1_10 {
+ /**
+ */
+ public static void f(double a, double b){
+
+ System.out.println((a*a + (2*a-(b*b)) + 7*b));
+
+ }
+ public static void main(String[] args) {
+ Scanner scanner = new Scanner(System.in);
+
+ System.out.print("Въведете а=");
+ Double a = scanner.nextDouble();
+
+ System.out.print("Въведете b=");
+ Double b = scanner.nextDouble();
+
+ System.out.print("Въведете c=");
+ Double c = scanner.nextDouble();
+
+ System.out.print("Въведете d=");
+ Double d = scanner.nextDouble();
+
+ scanner.close();
+
+ System.out.println(a + b + c +d);
+ f(a,b);
+ f(a,d);
+ f(b,c);
+
+ }
+ }
\ No newline at end of file
diff --git a/1401417015 AngelFlag/exam1task3.2/build.xml b/1401417015 AngelFlag/exam1task3.2/build.xml
new file mode 100644
index 0000000..6f39574
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task3.2/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task3.2.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task3.2/manifest.mf b/1401417015 AngelFlag/exam1task3.2/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task3.2/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task3.2/src/exam1task3/pkg2/Exam1task32.java b/1401417015 AngelFlag/exam1task3.2/src/exam1task3/pkg2/Exam1task32.java
new file mode 100644
index 0000000..5512122
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task3.2/src/exam1task3/pkg2/Exam1task32.java
@@ -0,0 +1,33 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task3.pkg2;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam1task32 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ double d1=5.2; double d2=2.3;
+
+ m(d1,d2);
+ m(d2 , d1);
+ m(2.0,1.2);
+
+ }
+ public static void m(double d1, double d2){
+
+ System.out.println(d1 + "+" + d2 +"=" + (d1+d2));//l
+ System.out.println(d1 + "-" + d2 + "=" + (d1-d2));
+ System.out.println(d1 + "*" + d2 + "=" + (d1 * d2));
+ System.out.println(d1 + "/" + d2 + "=" + (d1 / d2));
+
+}
+}
diff --git a/1401417015 AngelFlag/exam1task3intTwo/build.xml b/1401417015 AngelFlag/exam1task3intTwo/build.xml
new file mode 100644
index 0000000..c136fd3
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task3intTwo/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task3intTwo.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task3intTwo/manifest.mf b/1401417015 AngelFlag/exam1task3intTwo/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task3intTwo/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task3intTwo/src/exam1task3inttwo/Exam1task3intTwo.java b/1401417015 AngelFlag/exam1task3intTwo/src/exam1task3inttwo/Exam1task3intTwo.java
new file mode 100644
index 0000000..d02e43d
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task3intTwo/src/exam1task3inttwo/Exam1task3intTwo.java
@@ -0,0 +1,28 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task3inttwo;
+
+/**
+ *
+ * @author FlagBg
+ */
+public class Exam1task3intTwo {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ double d1=5.2; double d2=2.3;
+
+ System.out.println(d1 + "+" + d2 + "=" + (d1 + d2));//
+ System.out.println(d1 + "-" + d2 + "=" + (d1 - d2));
+ System.out.println(d1 + "*" + d2 + "=" + (d1 * d2));
+ System.out.println(d1 + "/" + d2 + "=" + (d1 / d2));
+
+ }
+ }
+
+
\ No newline at end of file
diff --git a/1401417003_KalinDimov/NewProject/build.xml b/1401417015 AngelFlag/exam1task4/build.xml
similarity index 93%
rename from 1401417003_KalinDimov/NewProject/build.xml
rename to 1401417015 AngelFlag/exam1task4/build.xml
index c81476f..a142014 100644
--- a/1401417003_KalinDimov/NewProject/build.xml
+++ b/1401417015 AngelFlag/exam1task4/build.xml
@@ -1,73 +1,73 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project NewProject.
-
-
-
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task4.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task4/manifest.mf b/1401417015 AngelFlag/exam1task4/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task4/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task4/src/exam1task4/Exam1task4.java b/1401417015 AngelFlag/exam1task4/src/exam1task4/Exam1task4.java
new file mode 100644
index 0000000..d0a294b
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task4/src/exam1task4/Exam1task4.java
@@ -0,0 +1,29 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task4;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam1task4 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ int i, j;
+ i=10; j = i++;
+ System.out.println(j); // 10
+ i=10; j = ++i;
+ System.out.println(j); // 11
+ i=10; j = i--;
+ System.out.println(j); // 10
+ i=10; j = --i;
+ System.out.println(j); // 9
+
+ }
+}
diff --git a/0000000000_StoyanCheresharov/StackTrace/build.xml b/1401417015 AngelFlag/exam1task5/build.xml
similarity index 93%
rename from 0000000000_StoyanCheresharov/StackTrace/build.xml
rename to 1401417015 AngelFlag/exam1task5/build.xml
index 05ee8b7..71d585c 100644
--- a/0000000000_StoyanCheresharov/StackTrace/build.xml
+++ b/1401417015 AngelFlag/exam1task5/build.xml
@@ -1,73 +1,73 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project StackTrace.
-
-
-
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task5.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task5/manifest.mf b/1401417015 AngelFlag/exam1task5/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task5/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task5/src/exam1task5/Exam1task5.java b/1401417015 AngelFlag/exam1task5/src/exam1task5/Exam1task5.java
new file mode 100644
index 0000000..534a0c6
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task5/src/exam1task5/Exam1task5.java
@@ -0,0 +1,30 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task5;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam1task5 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ float f =1.25f;
+ f+=5;
+ System.out.println(f);
+ f-=2;
+ System.out.println(f);
+ f*=10;
+ System.out.println(f);
+ f/=10;
+ System.out.println(f);
+
+ // TODO code application logic here
+ }
+}
diff --git a/1401417015 AngelFlag/exam1task6/build.xml b/1401417015 AngelFlag/exam1task6/build.xml
new file mode 100644
index 0000000..e4340a8
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task6/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task6.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task6/manifest.mf b/1401417015 AngelFlag/exam1task6/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task6/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task6/src/exam1task6/Exam1task6.java b/1401417015 AngelFlag/exam1task6/src/exam1task6/Exam1task6.java
new file mode 100644
index 0000000..05d0347
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task6/src/exam1task6/Exam1task6.java
@@ -0,0 +1,26 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task6;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam1task6 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ boolean b;
+ b = (1==1);
+ System.out.println(b);
+ b = (1==2);
+ System.out.println(b);
+ //yes!
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam1task7/build.xml b/1401417015 AngelFlag/exam1task7/build.xml
new file mode 100644
index 0000000..66534a8
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task7/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task7.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task7/manifest.mf b/1401417015 AngelFlag/exam1task7/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task7/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task7/src/exam1task7/Exam1task7.java b/1401417015 AngelFlag/exam1task7/src/exam1task7/Exam1task7.java
new file mode 100644
index 0000000..2828509
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task7/src/exam1task7/Exam1task7.java
@@ -0,0 +1,27 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task7;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam1task7 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ short s1=5; int s2 = 6;
+ System.out.println(s1==s2);
+ System.out.println(s1s2);
+ System.out.println(s1<=s2);
+ System.out.println(s1>=s2);
+
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam1task8/build.xml b/1401417015 AngelFlag/exam1task8/build.xml
new file mode 100644
index 0000000..d6560b6
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task8/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task8.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task8/manifest.mf b/1401417015 AngelFlag/exam1task8/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task8/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task8/src/exam1task8/Exam1task8.java b/1401417015 AngelFlag/exam1task8/src/exam1task8/Exam1task8.java
new file mode 100644
index 0000000..38447aa
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task8/src/exam1task8/Exam1task8.java
@@ -0,0 +1,32 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task8;
+
+/**
+ *
+ * @author THE NET
+ */
+import java.util.Scanner;
+public class Exam1task8 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ Scanner scanner = new Scanner(System.in);
+
+ System.out.print("Въведете i= ");
+ int i = scanner.nextInt();
+
+ System.out.print("Въведете j = ");
+ int j = scanner.nextInt();
+
+ scanner.close ();
+ System.out.println(i + j);
+
+ }
+}
+
diff --git a/1401417015 AngelFlag/exam1task8a/build.xml b/1401417015 AngelFlag/exam1task8a/build.xml
new file mode 100644
index 0000000..a516268
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task8a/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task8a.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task8a/manifest.mf b/1401417015 AngelFlag/exam1task8a/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task8a/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task8a/src/exam1task8a/Exam1task8a.java b/1401417015 AngelFlag/exam1task8a/src/exam1task8a/Exam1task8a.java
new file mode 100644
index 0000000..6a7b627
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task8a/src/exam1task8a/Exam1task8a.java
@@ -0,0 +1,32 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task8a;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam1task8a {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ short s1=5;
+ short s2=6;
+ System.out.println(true && true);
+ System.out.println((s2>=s1) && (s1+1 ==s2));
+ System.out.println(true || false);
+ System.out.println((s1s2));
+ System.out.println(!(s1
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task9.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task9/manifest.mf b/1401417015 AngelFlag/exam1task9/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task9/src/exam1task9/Exam1task9.java b/1401417015 AngelFlag/exam1task9/src/exam1task9/Exam1task9.java
new file mode 100644
index 0000000..5305a99
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9/src/exam1task9/Exam1task9.java
@@ -0,0 +1,36 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task9;
+
+/**
+ *
+ * @author THE NET
+ */
+import java.util.Scanner;
+public class Exam1task9 {
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ Scanner scanner = new Scanner(System.in);
+
+ System.out.print("Въведете две цели числа и низ: i1 i2 s1 = ");
+ int i1, i2;
+ String s;
+ i1 = scanner.nextInt();
+ i2 = scanner.nextInt();
+ s = scanner.next();
+
+ System.out.println(i1+i2);
+ System.out.println(s);
+
+ scanner.close();
+
+
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam1task9a/build.xml b/1401417015 AngelFlag/exam1task9a/build.xml
new file mode 100644
index 0000000..e38e264
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9a/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task9a.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task9a/manifest.mf b/1401417015 AngelFlag/exam1task9a/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9a/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task9a/src/exam1task9a/Exam1task9a.java b/1401417015 AngelFlag/exam1task9a/src/exam1task9a/Exam1task9a.java
new file mode 100644
index 0000000..5e04c3a
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9a/src/exam1task9a/Exam1task9a.java
@@ -0,0 +1,34 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task9a;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam1task9a {
+
+ /**
+ * @param args the command line arguments
+ */
+ private static void bigger(double d1, double d2) {
+
+ double d3 = d1 * d2;
+ if(d3>50);
+ {System.out.println(d1 + "*" + d2 + "=" + d3);
+ }
+}
+
+ public static void main(String[] args) {
+ double d1 = 4.5; double d2 = 5;
+ bigger(d1,d2);
+ bigger(5,10);
+ bigger(5,11);
+
+
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam1task9b/build.xml b/1401417015 AngelFlag/exam1task9b/build.xml
new file mode 100644
index 0000000..917d741
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9b/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task9b.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task9b/manifest.mf b/1401417015 AngelFlag/exam1task9b/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9b/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task9b/src/exam1task9b/Exam1task9b.java b/1401417015 AngelFlag/exam1task9b/src/exam1task9b/Exam1task9b.java
new file mode 100644
index 0000000..7036d00
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9b/src/exam1task9b/Exam1task9b.java
@@ -0,0 +1,46 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task9b;
+
+/**
+ *
+ * @author THE NET
+ */
+import java.util.Scanner;
+public class Exam1task9b {
+
+ public static void bigger(double d1, double d2) {
+ double d3 = d1 * d2;
+ if(d3>50);
+ {System.out.println(d1 + "*" + d2 + "=" + d3);
+ }
+ }
+ public static void main(String[] args)
+ {
+// 2
+
+ double d1 = 4.5; double d2 = 5;
+ bigger(d1,d2);
+ bigger(5,10);
+ bigger(5,11);
+ Scanner scanner = new Scanner(System.in);
+ System.out.print("Въведете d1= ");
+ int i = scanner.nextInt();
+
+ System.out.print("Въведете d2 = ");
+ int j = scanner.nextInt();
+
+ scanner.close ();
+ if((i*j)>50);
+ System.out.println(i * j);
+ }
+
+ }
+// private static void Falcon(double 28, double 3.4);
+//
+// System.out.println(a1*)
+//// }
+//{
\ No newline at end of file
diff --git a/1401417015 AngelFlag/exam1task9c/build.xml b/1401417015 AngelFlag/exam1task9c/build.xml
new file mode 100644
index 0000000..7e0dd45
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9c/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam1task9c.
+
+
+
diff --git a/1401417015 AngelFlag/exam1task9c/manifest.mf b/1401417015 AngelFlag/exam1task9c/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9c/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam1task9c/src/exam1task9c/Exam1task9c.java b/1401417015 AngelFlag/exam1task9c/src/exam1task9c/Exam1task9c.java
new file mode 100644
index 0000000..a1e7fc0
--- /dev/null
+++ b/1401417015 AngelFlag/exam1task9c/src/exam1task9c/Exam1task9c.java
@@ -0,0 +1,36 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam1task9c;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam1task9c {
+
+ /**
+ * @param d1
+ * @param d2
+ */
+ public static void m(double d1, double d2){
+ if (d1+d2> 20)
+ System.out.println((d1+d2)*(d1-d2));
+ else
+ System.out.println("PARAGRAFF 22");
+
+ }
+
+ public static void main(String[] args) {
+ m(11,15);
+ m(5,11);
+
+ }
+ public static void f(double a, double b){
+
+
+ System.out.println(a*a + 2*(a-b*b)+7*b);
+ }
+}
diff --git a/1401417015 AngelFlag/exam2.8menuA/build.xml b/1401417015 AngelFlag/exam2.8menuA/build.xml
new file mode 100644
index 0000000..a3cce98
--- /dev/null
+++ b/1401417015 AngelFlag/exam2.8menuA/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2.8menuA.
+
+
+
diff --git a/1401417015 AngelFlag/exam2.8menuA/manifest.mf b/1401417015 AngelFlag/exam2.8menuA/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2.8menuA/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2.8menuA/src/exam2/pkg8menua/Exam28menuA.java b/1401417015 AngelFlag/exam2.8menuA/src/exam2/pkg8menua/Exam28menuA.java
new file mode 100644
index 0000000..a371938
--- /dev/null
+++ b/1401417015 AngelFlag/exam2.8menuA/src/exam2/pkg8menua/Exam28menuA.java
@@ -0,0 +1,49 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2.pkg8menua;
+import java.util.Scanner;
+/**
+ *
+ * @author THE NET
+ */
+public class Exam28menuA {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ System.out.println("Меню");
+ System.out.println(" 1. Теглене на сума");
+ System.out.println(" 2. Промяна на PIN");
+ System.out.println(" 3. Проверка на наличност");
+ System.out.println(" 4. Настройки");
+ System.out.println(" 5. Изход");
+ //System.out.print("Изберете възможност (1-5): ");
+
+ Scanner Keyboard = new Scanner(System.in);
+
+ int избор = Keyboard.nextInt();
+ String текст;
+
+ do{
+ System.out.print("Изберете възможност (1-5): ");
+ избор = Keyboard.nextInt();
+ switch(избор){ //
+
+ case 1: текст = "Вие избрахте 1: Теглене на сума"; break;
+ case 2: текст = "Вие избрахте 2: Промяна на PIN"; break;
+ case 3: текст = "Вие избрахте 3: Проверка на наличност"; break;
+ case 4: текст = "Вие избрахте 4: Настройки"; break;
+ case 5: текст = "Вие избрахте 5: Изход"; break;
+ default: текст = "Въвели сте грешен избор!";
+}
+
+ System.out.println(текст );
+ } while(избор!=5);
+Keyboard.close();
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam2_10/build.xml b/1401417015 AngelFlag/exam2_10/build.xml
new file mode 100644
index 0000000..92cae60
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_10/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_10.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_10/manifest.mf b/1401417015 AngelFlag/exam2_10/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_10/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_10/src/exam2_10/Exam2_10.java b/1401417015 AngelFlag/exam2_10/src/exam2_10/Exam2_10.java
new file mode 100644
index 0000000..8faafb7
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_10/src/exam2_10/Exam2_10.java
@@ -0,0 +1,31 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_10;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_10 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ double m[] = {1.1,2.2,3.3,4.4,5.5}; //double m[] = new double[5];
+ //m[0] = 1.1;
+ for(double alabala:m)
+ System.out.println(alabala);//m[1] = 2.2;
+
+ //m[2]=3.3;
+ //m[3]=4.4;
+ //m[4]=5.5;
+//for(int i=0; i<5; i++)
+ // System.out.println(m[i]);
+ //for(int i=0; i
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_11.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_11/manifest.mf b/1401417015 AngelFlag/exam2_11/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_11/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_11/src/exam2_11/Exam2_11.java b/1401417015 AngelFlag/exam2_11/src/exam2_11/Exam2_11.java
new file mode 100644
index 0000000..b69ac51
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_11/src/exam2_11/Exam2_11.java
@@ -0,0 +1,45 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_11;
+//import java.util.Scanner;
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_11 {
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ int[] myArray = {6,7,8,9,10};
+ int[] array = {1,2,3,4,5};
+ m1(myArray);
+ m2(array);
+ }
+
+ public static void m1(int[] m) {
+
+ for (int i=0; i=0; i--){
+ System.out.println(n[i]);
+
+ }
+ }
+
+//Scanner inphut = new Scanner(System.in);
+ //int n = input.nextInt();
+ //int[] array = new int[n];
+
+//for(int i= 0; i < n; i++) {
+ //array[i] = input.nextInt();
+
+ }
diff --git a/1401417015 AngelFlag/exam2_11/src/java/util/input.java b/1401417015 AngelFlag/exam2_11/src/java/util/input.java
new file mode 100644
index 0000000..424527e
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_11/src/java/util/input.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package java.util;
+
+/**
+ *
+ * @author THE NET
+ */
+public class input {
+
+}
diff --git a/1401417015 AngelFlag/exam2_1a/build.xml b/1401417015 AngelFlag/exam2_1a/build.xml
new file mode 100644
index 0000000..b6c18f1
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_1a/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_1a.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_1a/manifest.mf b/1401417015 AngelFlag/exam2_1a/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_1a/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_1a/src/exam2_1a/Exam2_1a.java b/1401417015 AngelFlag/exam2_1a/src/exam2_1a/Exam2_1a.java
new file mode 100644
index 0000000..793b437
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_1a/src/exam2_1a/Exam2_1a.java
@@ -0,0 +1,26 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_1a;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_1a {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ int i = 1;
+ while(i<11)
+ {
+ System.out.println(i);
+ i=i+1;
+ }
+}
+}
+
diff --git a/1401417015 AngelFlag/exam2_1c/build.xml b/1401417015 AngelFlag/exam2_1c/build.xml
new file mode 100644
index 0000000..cd7af87
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_1c/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_1c.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_1c/manifest.mf b/1401417015 AngelFlag/exam2_1c/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_1c/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_1c/src/exam2_1c/Exam2_1c.java b/1401417015 AngelFlag/exam2_1c/src/exam2_1c/Exam2_1c.java
new file mode 100644
index 0000000..54ea182
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_1c/src/exam2_1c/Exam2_1c.java
@@ -0,0 +1,25 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_1c;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_1c {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ for(int i=1; i<91; i++){
+ System.out.println(i);
+
+ }
+}
+
+ }
+
diff --git a/1401417015 AngelFlag/exam2_2/build.xml b/1401417015 AngelFlag/exam2_2/build.xml
new file mode 100644
index 0000000..1a7e773
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_2/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_2.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_2/manifest.mf b/1401417015 AngelFlag/exam2_2/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_2/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_2/src/exam2_2/Exam2_2.java b/1401417015 AngelFlag/exam2_2/src/exam2_2/Exam2_2.java
new file mode 100644
index 0000000..6ef0803
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_2/src/exam2_2/Exam2_2.java
@@ -0,0 +1,24 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_2;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_2 {
+//otpechataite chislata ot 1 do 20 v obraten red
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ for(int i=20; i>1; i=i-1)
+
+ System.out.println(i);
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam2_3/build.xml b/1401417015 AngelFlag/exam2_3/build.xml
new file mode 100644
index 0000000..1fb502f
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_3/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_3.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_3/manifest.mf b/1401417015 AngelFlag/exam2_3/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_3/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_3/src/exam2_3/Exam2_3.java b/1401417015 AngelFlag/exam2_3/src/exam2_3/Exam2_3.java
new file mode 100644
index 0000000..627c617
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_3/src/exam2_3/Exam2_3.java
@@ -0,0 +1,28 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_3;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_3 {
+
+ /**
+ * @param args the command line arguments
+ */
+ //Отпечатайте 5 пъти буквата ‘а’ и веднага след това 10 пъти ‘б’.
+ public static void main(String[] args) {
+ int i;
+ for(i=1; i<=5; i++);
+
+ System.out.println("a");
+ for(i=1; i<=10; i--);
+ System.out.println("B");
+
+ }
+
+}
diff --git a/0000000000_StoyanCheresharov/ReadWrite/build.xml b/1401417015 AngelFlag/exam2_4.1/build.xml
similarity index 93%
rename from 0000000000_StoyanCheresharov/ReadWrite/build.xml
rename to 1401417015 AngelFlag/exam2_4.1/build.xml
index 38887a8..c3e553a 100644
--- a/0000000000_StoyanCheresharov/ReadWrite/build.xml
+++ b/1401417015 AngelFlag/exam2_4.1/build.xml
@@ -1,73 +1,73 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project ReadWrite.
-
-
-
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_4.1.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_4.1/manifest.mf b/1401417015 AngelFlag/exam2_4.1/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_4.1/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_4.1/src/exam2_4/pkg1/Exam2_41.java b/1401417015 AngelFlag/exam2_4.1/src/exam2_4/pkg1/Exam2_41.java
new file mode 100644
index 0000000..720ca16
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_4.1/src/exam2_4/pkg1/Exam2_41.java
@@ -0,0 +1,31 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_4.pkg1;
+
+/**
+ *
+ * @author THE NET
+ */
+
+public class Exam2_41 {
+
+ public static void max1(int i1, int i2){
+ int max = i1;
+ if (max < i2)
+ max = i2;
+
+ System.out.println(max);
+ }
+ //Създайте метод, който извежда максималното от две цели числа зададени като формални параметри.
+ //Извикайте метода в основната програма.
+
+ public static void main(String[] args) {
+ max1(2,25);
+ max1(1,23);
+ max1(34,4);
+
+ }
+}
diff --git a/1401417015 AngelFlag/exam2_41a/build.xml b/1401417015 AngelFlag/exam2_41a/build.xml
new file mode 100644
index 0000000..c73abfe
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_41a/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_41a.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_41a/manifest.mf b/1401417015 AngelFlag/exam2_41a/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_41a/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_41a/src/exam2_41a/Exam2_41a.java b/1401417015 AngelFlag/exam2_41a/src/exam2_41a/Exam2_41a.java
new file mode 100644
index 0000000..03bf788
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_41a/src/exam2_41a/Exam2_41a.java
@@ -0,0 +1,31 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_41a;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_41a {
+
+ public static void printMax(float number1, float number2){
+
+ float max = number1;
+ if(number2 > number1) {
+ max = number2;
+ }
+ System.out.println("Max number is:" + max);
+ }
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ printMax(2,23);
+ printMax(12312,12132);
+ printMax(1,22);
+
+ }
+}
diff --git a/1401417015 AngelFlag/exam2_5task5/build.xml b/1401417015 AngelFlag/exam2_5task5/build.xml
new file mode 100644
index 0000000..35e652d
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_5task5/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_5task5.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_5task5/manifest.mf b/1401417015 AngelFlag/exam2_5task5/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_5task5/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_5task5/src/exam2_5task5/Exam2_5task5.java b/1401417015 AngelFlag/exam2_5task5/src/exam2_5task5/Exam2_5task5.java
new file mode 100644
index 0000000..cd2a214
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_5task5/src/exam2_5task5/Exam2_5task5.java
@@ -0,0 +1,43 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_5task5;
+
+/**
+ *
+ * @author THE NET
+ */
+import java.util.*;
+
+public class Exam2_5task5 {
+ //Зад. 5 - СР
+//Като използвате функцията max от зад. 4.2.
+//създайте основна програма s три цели числа от конзолата и намирате, максималното от тях.
+
+ public static void max1(int a, int b, int c){
+
+ int max = (a > b && a > c) ? a : ((b > a && b > c) ? b : c);
+ System.out.println(max);
+ }
+
+ public static void main(String[] args) {
+
+ Scanner scanner = new Scanner(System.in);
+
+ System.out.print("Въведете a= ");
+ int a = scanner.nextInt();
+
+ System.out.print("Въведете b = ");
+ int b = scanner.nextInt();
+
+ System.out.print("Вуведете c = ");
+ int c = scanner.nextInt();
+
+ scanner.close();
+
+ max1(a,b,c);
+
+ }
+}
diff --git a/1401417015 AngelFlag/exam2_6/build.xml b/1401417015 AngelFlag/exam2_6/build.xml
new file mode 100644
index 0000000..7faba51
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_6/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_6.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_6/manifest.mf b/1401417015 AngelFlag/exam2_6/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_6/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_6/src/exam2_6/Exam2_6.java b/1401417015 AngelFlag/exam2_6/src/exam2_6/Exam2_6.java
new file mode 100644
index 0000000..bc055c6
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_6/src/exam2_6/Exam2_6.java
@@ -0,0 +1,40 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_6;
+
+import java.util.Scanner;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_6 {
+
+ public static void m1(int a, int b){
+
+ int m = a;
+ if (m > b)
+ m = b;
+ //
+
+ System.out.println(m);
+ //m=m+1;
+ }
+ public static void main(String[] args) {
+ Scanner scanner = new Scanner(System.in);
+
+ System.out.println("Въведете стойност за a:");
+ int a = scanner.nextInt();
+
+ System.out.println("Въведете стойност за b:");
+ int b = scanner.nextInt();
+
+ scanner.close();
+
+ m1(a,b);
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam2_7menu/build.xml b/1401417015 AngelFlag/exam2_7menu/build.xml
new file mode 100644
index 0000000..db4649b
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_7menu/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_7menu.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_7menu/manifest.mf b/1401417015 AngelFlag/exam2_7menu/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_7menu/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_7menu/src/exam2_7menu/Exam2_7menu.java b/1401417015 AngelFlag/exam2_7menu/src/exam2_7menu/Exam2_7menu.java
new file mode 100644
index 0000000..5f4e92c
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_7menu/src/exam2_7menu/Exam2_7menu.java
@@ -0,0 +1,44 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_7menu;
+import java.util.Scanner;
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_7menu {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ System.out.println("Меню"); // Извеждане на менюто в конзолата
+ System.out.println(" 1. Теглене на сума");
+ System.out.println(" 2. Промяна на PIN");
+ System.out.println(" 3. Проверка на наличност");
+ System.out.println(" 4. Настройки");
+ System.out.println(" 5. Изход");
+ System.out.print("Изберете възможност (1-5): ");
+
+ Scanner Keyboard = new Scanner(System.in);
+ int избор = Keyboard.nextInt();
+
+ String текст;
+ switch(избор){ // В зависимост от стойността на „избор”...
+ case 1: текст = "Вие избрахте 1: Теглене на сума"; break;
+ case 2: текст = "Вие избрахте 2: Промяна на PIN"; break;
+ case 3: текст = "Вие избрахте 3: Проверка на наличност"; break;
+ case 4: текст = "Вие избрахте 4: Настройки"; break;
+ case 5: текст = "Вие избрахте 5: Изход"; break;
+ default: текст = "Въвели сте грешен избор!";
+}
+ System.out.println(текст );
+ Keyboard.close();
+
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam2_9/build.xml b/1401417015 AngelFlag/exam2_9/build.xml
new file mode 100644
index 0000000..89019b6
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_9/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2_9.
+
+
+
diff --git a/1401417015 AngelFlag/exam2_9/manifest.mf b/1401417015 AngelFlag/exam2_9/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_9/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2_9/src/exam2_9/Exam2_9.java b/1401417015 AngelFlag/exam2_9/src/exam2_9/Exam2_9.java
new file mode 100644
index 0000000..151cad5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2_9/src/exam2_9/Exam2_9.java
@@ -0,0 +1,59 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam2_9;
+import java.util.Scanner;
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2_9 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ System.out.println("Изберете число от едно до дванадесет:");
+ //System.out.println ("1 ");//= Януари
+ //System.out.println ("2"); //= Февруари
+ //System.out.println ("3"); //= Март
+ //System.out.println ("4"); //= Април
+ //System.out.println ("5"); //= Май
+ //System.out.println ("6"); //= Юни
+ //System.out.println ("7"); //= Юли
+ //System.out.println ("8"); //= Август
+ //System.out.println ("9");//= Септември
+ //System.out.println ("10");// = Октомври
+ //System.out.println ("11");//; = Ноември
+ //System.out.println ("12"); //= Декември
+
+
+ Scanner Keyboard = new Scanner(System.in);
+ int избор = Keyboard.nextInt();
+ String Текст;
+
+ do{
+ System.out.println("Изберете число от едно до дванадесет");
+ избор= Keyboard.nextInt();
+ switch(избор){
+ case 1: Текст = "Вие избрахте 1 - Януари"; break;
+ case 2: Текст = "Вие избрахте 2 - Февруари";break;
+ case 3: Текст = "Вие избрахте 3 - Март"; break;
+ case 4: Текст = "Вие избрахте 4 - Април";break;
+ case 5: Текст = "Вие избрахте 5 - МАй";break;
+ case 6: Текст = "Вие избрахте 6 - Юни";break;
+ case 7: Текст = "Вие избрахте 7 - Юли";break;
+ case 8: Текст = "Вие избрахте 8 - Август";break;
+ case 9: Текст = "Вие избрахте 9 - Септември";break;
+ case 10: Текст = "Вие избрахте 10 - Октомври";break;
+ case 11: Текст = "Вие избрахте 11 - Ноември";break;
+ case 12: Текст = "Вие избрахте 12 - Декември";break;
+ default: Текст = "Въведете число от едно до дванадесет!";
+ }
+ System.out.println(Текст);
+ }while(избор!=13);
+ Keyboard.close();
+ }
+}
diff --git a/1401417015 AngelFlag/exam2task2/build.xml b/1401417015 AngelFlag/exam2task2/build.xml
new file mode 100644
index 0000000..ee1009f
--- /dev/null
+++ b/1401417015 AngelFlag/exam2task2/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam2task2.
+
+
+
diff --git a/1401417015 AngelFlag/exam2task2/manifest.mf b/1401417015 AngelFlag/exam2task2/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam2task2/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam2task2/src/exam2task2/Exam2task2.java b/1401417015 AngelFlag/exam2task2/src/exam2task2/Exam2task2.java
new file mode 100644
index 0000000..0c80c1e
--- /dev/null
+++ b/1401417015 AngelFlag/exam2task2/src/exam2task2/Exam2task2.java
@@ -0,0 +1,26 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package exam2task2;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam2task2 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+
+ for(int i=22; i>1; i=i-2)
+
+ System.out.println(i);
+ }
+ }
+
diff --git a/1401417015 AngelFlag/exam3_1/build.xml b/1401417015 AngelFlag/exam3_1/build.xml
new file mode 100644
index 0000000..9985cb3
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_1/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam3_1.
+
+
+
diff --git a/1401417015 AngelFlag/exam3_1/dist/README.TXT b/1401417015 AngelFlag/exam3_1/dist/README.TXT
new file mode 100644
index 0000000..1fbf232
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_1/dist/README.TXT
@@ -0,0 +1,32 @@
+========================
+BUILD OUTPUT DESCRIPTION
+========================
+
+When you build an Java application project that has a main class, the IDE
+automatically copies all of the JAR
+files on the projects classpath to your projects dist/lib folder. The IDE
+also adds each of the JAR files to the Class-Path element in the application
+JAR files manifest file (MANIFEST.MF).
+
+To run the project from the command line, go to the dist folder and
+type the following:
+
+java -jar "exam3_1.jar"
+
+To distribute this project, zip up the dist folder (including the lib folder)
+and distribute the ZIP file.
+
+Notes:
+
+* If two JAR files on the project classpath have the same name, only the first
+JAR file is copied to the lib folder.
+* Only JAR files are copied to the lib folder.
+If the classpath contains other types of files or folders, these files (folders)
+are not copied.
+* If a library on the projects classpath also has a Class-Path element
+specified in the manifest,the content of the Class-Path element has to be on
+the projects runtime path.
+* To set a main class in a standard Java project, right-click the project node
+in the Projects window and choose Properties. Then click Run and enter the
+class name in the Main Class field. Alternatively, you can manually type the
+class name in the manifest Main-Class element.
diff --git a/1401417015 AngelFlag/exam3_1/dist/exam3_1.jar b/1401417015 AngelFlag/exam3_1/dist/exam3_1.jar
new file mode 100644
index 0000000..3f7131d
Binary files /dev/null and b/1401417015 AngelFlag/exam3_1/dist/exam3_1.jar differ
diff --git a/1401417015 AngelFlag/exam3_1/manifest.mf b/1401417015 AngelFlag/exam3_1/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_1/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam3_1/src/exam3_1/Exam3_1.java b/1401417015 AngelFlag/exam3_1/src/exam3_1/Exam3_1.java
new file mode 100644
index 0000000..9f01ba3
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_1/src/exam3_1/Exam3_1.java
@@ -0,0 +1,34 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam3_1;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam3_1 {
+
+ String Name; //String Name;
+ int Age; // int Age;
+
+ public Exam3_1(String име, int възраст){ //public Exam3_1(String име, int възраст){
+ Name = име;
+ Age = възраст;
+ }
+ public String toString()
+ {
+ return "My name is " + Name +" and I am " + Age + " years old";
+ }
+
+ public static void main(String[] args) {
+ Exam3_1 human = new Exam3_1("sadfas",26);
+
+ System.out.print(human);
+
+ // TODO code application logic here
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam3_2/build.xml b/1401417015 AngelFlag/exam3_2/build.xml
new file mode 100644
index 0000000..f7af854
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_2/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam3_2.
+
+
+
diff --git a/1401417015 AngelFlag/exam3_2/manifest.mf b/1401417015 AngelFlag/exam3_2/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_2/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam3_2/src/exam3_2/Exam3_2.java b/1401417015 AngelFlag/exam3_2/src/exam3_2/Exam3_2.java
new file mode 100644
index 0000000..c72ea7e
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_2/src/exam3_2/Exam3_2.java
@@ -0,0 +1,34 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam3_2;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam3_2 {
+
+ /**
+ * @param args the command line arguments
+ */
+
+ public static void srednoAritm(double m[]){
+
+ double suma = 0;
+ for (int i = 0; i < m.length; i++)
+ suma += m[i];
+
+ double rezultat = suma / m.length;
+ System.out.println("Средно аритметичната сума е: " + rezultat);
+ }
+
+ public static void main(String[] args) {
+ double m[] = {4.8,-4.1,5,-2,7};
+
+ srednoAritm(m);
+
+}
+}
diff --git a/1401417015 AngelFlag/exam3_3/build.xml b/1401417015 AngelFlag/exam3_3/build.xml
new file mode 100644
index 0000000..2b45e70
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_3/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam3_3.
+
+
+
diff --git a/1401417015 AngelFlag/exam3_3/manifest.mf b/1401417015 AngelFlag/exam3_3/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_3/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam3_3/src/exam3_3/Exam3_3.java b/1401417015 AngelFlag/exam3_3/src/exam3_3/Exam3_3.java
new file mode 100644
index 0000000..70eba8b
--- /dev/null
+++ b/1401417015 AngelFlag/exam3_3/src/exam3_3/Exam3_3.java
@@ -0,0 +1,34 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam3_3;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam3_3 {
+
+ /**
+ * @param args the command line arguments
+ */
+
+
+ public static void sumPluselem(double m[]){
+ double suma = 0;
+ for (int i = 0; i < m.length; i++)
+ if (m[i] > 0)
+ suma += m[i];
+
+ System.out.println("Сумата на положителните елементи: " + suma);
+
+ }
+ public static void main(String[] args) {
+ double m[] = {4.8,-4.1,5,-2,7};
+
+ sumPluselem(m);
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam4_1/build.xml b/1401417015 AngelFlag/exam4_1/build.xml
new file mode 100644
index 0000000..383ee54
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_1/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam4_1.
+
+
+
diff --git a/1401417015 AngelFlag/exam4_1/manifest.mf b/1401417015 AngelFlag/exam4_1/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_1/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam4_1/src/exam4_1/Exam4_1.java b/1401417015 AngelFlag/exam4_1/src/exam4_1/Exam4_1.java
new file mode 100644
index 0000000..427bb3f
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_1/src/exam4_1/Exam4_1.java
@@ -0,0 +1,31 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam4_1;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam4_1 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ String imena[] = {"Иван","Мария","Петър","Ивайло","Марин","Ивдианаполис"};
+ низовеЗапочващиС(imena, "Ив");
+
+ }
+ public static void низовеЗапочващиС(String m[], String search){
+ System.out.println("Низове започващи с " + search + ":");
+
+ for(int i=0; i
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam4_2.
+
+
+
diff --git a/1401417015 AngelFlag/exam4_2/manifest.mf b/1401417015 AngelFlag/exam4_2/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_2/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam4_2/src/exam4_2/Exam4_2.java b/1401417015 AngelFlag/exam4_2/src/exam4_2/Exam4_2.java
new file mode 100644
index 0000000..a7fbce4
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_2/src/exam4_2/Exam4_2.java
@@ -0,0 +1,31 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam4_2;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam4_2 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ String imena[] = {"Иван","Мария","Петър","Ивайло","Марин"};
+ низовеЗапочващиС(imena, "и");
+ }
+
+ public static void низовеЗапочващиС(String m[], String search){
+ System.out.println("Елементи съдържащи 'и' " + search + ":");
+
+ for (int i=0; i
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam4_3.
+
+
+
diff --git a/1401417015 AngelFlag/exam4_3/manifest.mf b/1401417015 AngelFlag/exam4_3/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_3/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam4_3/src/exam4_3/Exam4_3.java b/1401417015 AngelFlag/exam4_3/src/exam4_3/Exam4_3.java
new file mode 100644
index 0000000..aed3f5b
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_3/src/exam4_3/Exam4_3.java
@@ -0,0 +1,31 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam4_3;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam4_3 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ String imena[] = {"Иван","Мария","Петър","Ивайло","Марин"};
+ низовеЗавършващи(imena, "ин");
+ // За масив от низове, изведете елементите завършващи с "ин"
+ }
+ public static void низовеЗавършващи(String m[], String search){
+ System.out.println("низовеЗавършващи s " + search + ":");
+
+ for (int i=0; i
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam4_5.
+
+
+
diff --git a/1401417015 AngelFlag/exam4_5/manifest.mf b/1401417015 AngelFlag/exam4_5/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_5/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam4_5/src/exam4_5/Exam4_5.java b/1401417015 AngelFlag/exam4_5/src/exam4_5/Exam4_5.java
new file mode 100644
index 0000000..f5a099f
--- /dev/null
+++ b/1401417015 AngelFlag/exam4_5/src/exam4_5/Exam4_5.java
@@ -0,0 +1,39 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam4_5;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam4_5 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ System.out.println(факториелЦикъл(4));
+ System.out.println(факториелРекурсия(4));
+ }
+
+ public static long факториелЦикъл(int num) {
+ long result = 1;
+
+ for (int i = 2; i <= num; i++)
+ result *= i;
+
+ return result;
+ }
+
+ public static long факториелРекурсия(int num) {
+ if(num<2) // Условие за край - прекъсване на рекурсията
+ return 1;
+
+ return num*факториелРекурсия(num-1);
+
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam5_1/build.xml b/1401417015 AngelFlag/exam5_1/build.xml
new file mode 100644
index 0000000..92f809b
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_1/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam5_1.
+
+
+
diff --git a/1401417015 AngelFlag/exam5_1/manifest.mf b/1401417015 AngelFlag/exam5_1/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_1/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam5_1/src/exam5_1/Exam5_1.java b/1401417015 AngelFlag/exam5_1/src/exam5_1/Exam5_1.java
new file mode 100644
index 0000000..c16e317
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_1/src/exam5_1/Exam5_1.java
@@ -0,0 +1,27 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_1;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam5_1 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ Person Angel = new Person();
+ Angel.name = "Angel";
+ Angel.surname = "Bayraktarov";
+ Angel.age = 34;
+
+ System.out.println("I am a person! My name is " + Angel.name + " " + Angel.surname + " and I am " + Angel.age + " old");
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam5_1/src/exam5_1/Person.java b/1401417015 AngelFlag/exam5_1/src/exam5_1/Person.java
new file mode 100644
index 0000000..f26f3fc
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_1/src/exam5_1/Person.java
@@ -0,0 +1,17 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_1;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Person {
+ public String name;
+ public String surname;
+ public int age;
+
+}
diff --git a/1401417015 AngelFlag/exam5_3/build.xml b/1401417015 AngelFlag/exam5_3/build.xml
new file mode 100644
index 0000000..d52336c
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_3/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam5_3.
+
+
+
diff --git a/1401417015 AngelFlag/exam5_3/manifest.mf b/1401417015 AngelFlag/exam5_3/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_3/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam5_3/src/exam5_3/Exam5_3.java b/1401417015 AngelFlag/exam5_3/src/exam5_3/Exam5_3.java
new file mode 100644
index 0000000..daf7d17
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_3/src/exam5_3/Exam5_3.java
@@ -0,0 +1,41 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_3;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam5_3 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ Person Angel = new Person("Angel","Bayraktarov", 30);
+ //Angel.name = "Angel";
+ //Angel.age = 33;
+ //Angel.setName("Angel");
+ //Angel.setSurname("Bayraktarov");
+ //Angel.setAge(33);
+ Angel.introduceYourself();
+
+ //System.out.println("I am a person! My name is " + Angel.getName() + " " + Angel.getSurname() + " and I am " + Angel.getAge() + " Old");
+
+ Person Nina = new Person("Nina", "Genov", 30);
+ //Nina.setName("Nina");
+ //Nina.setSurname("Genov");
+ //Nina.setAge(30);
+ Nina.introduceYourself();
+ //System.out.println("I am a person! My name is " + Nina.getName() + " " + Nina.getSurname() + " and I am " + Nina.getAge() + " Old");
+
+ Person Ivan = new Person();
+ Ivan.introduceYourself();
+ }
+
+
+}
diff --git a/1401417015 AngelFlag/exam5_3/src/exam5_3/Person.java b/1401417015 AngelFlag/exam5_3/src/exam5_3/Person.java
new file mode 100644
index 0000000..72c7af2
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_3/src/exam5_3/Person.java
@@ -0,0 +1,56 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_3;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Person {
+ private String name;
+ private String surname;
+ private int age;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public String getSurname() {
+ return surname;
+ }
+
+ public void setSurname(String surname) {
+ this.surname = surname;
+ }
+
+ public Person(String name, String surname, int age) {
+ this.name = name;
+ this.surname = surname;
+ this.age = age;
+ }
+
+ public Person(){
+ this("Ivan","Hadj",20);
+ }
+
+ public void introduceYourself(){
+ System.out.println("I am a person! My name is " + name +" " + surname + " and I am " + age + " Old");
+ }
+
+
+}
diff --git a/1401417015 AngelFlag/exam5_5/build.xml b/1401417015 AngelFlag/exam5_5/build.xml
new file mode 100644
index 0000000..0da7c84
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_5/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam5_5.
+
+
+
diff --git a/1401417015 AngelFlag/exam5_5/manifest.mf b/1401417015 AngelFlag/exam5_5/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_5/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam5_5/src/exam5_5/Exam5_5.java b/1401417015 AngelFlag/exam5_5/src/exam5_5/Exam5_5.java
new file mode 100644
index 0000000..749c723
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_5/src/exam5_5/Exam5_5.java
@@ -0,0 +1,25 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_5;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam5_5 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ Object Alabala = new Object();
+ Alabala.object = "Object";
+
+ System.out.println(Alabala.object);
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam5_5/src/exam5_5/Object.java b/1401417015 AngelFlag/exam5_5/src/exam5_5/Object.java
new file mode 100644
index 0000000..258b1a0
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_5/src/exam5_5/Object.java
@@ -0,0 +1,15 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_5;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Object {
+ public String object;
+
+}
diff --git a/1401417015 AngelFlag/exam5_8/build.xml b/1401417015 AngelFlag/exam5_8/build.xml
new file mode 100644
index 0000000..e3a567f
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_8/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam5_8.
+
+
+
diff --git a/1401417015 AngelFlag/exam5_8/manifest.mf b/1401417015 AngelFlag/exam5_8/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_8/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam5_8/src/exam5_8/Dog.java b/1401417015 AngelFlag/exam5_8/src/exam5_8/Dog.java
new file mode 100644
index 0000000..14b7775
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_8/src/exam5_8/Dog.java
@@ -0,0 +1,41 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_8;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Dog {
+ private String Poroda;
+ private int age;
+
+ public String getPoroda() {
+ return Poroda;
+ }
+
+ public void setPoroda(String Poroda) {
+ this.Poroda = Poroda;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public Dog(String Poroda, int age) {
+ this.Poroda = Poroda;
+ this.age = age;
+ }
+ public void moetoDog(){
+
+ System.out.println(" и моето куче е " + Poroda + " и е на " + age + " години");
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam5_8/src/exam5_8/Exam5_8.java b/1401417015 AngelFlag/exam5_8/src/exam5_8/Exam5_8.java
new file mode 100644
index 0000000..573248d
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_8/src/exam5_8/Exam5_8.java
@@ -0,0 +1,27 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_8;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam5_8 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ Person Angel = new Person("Angel",30);
+
+ Angel.introduceYourself();
+
+ Dog sharo = new Dog("Sharo",5);
+ sharo.moetoDog();
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam5_8/src/exam5_8/Person.java b/1401417015 AngelFlag/exam5_8/src/exam5_8/Person.java
new file mode 100644
index 0000000..ff61a32
--- /dev/null
+++ b/1401417015 AngelFlag/exam5_8/src/exam5_8/Person.java
@@ -0,0 +1,40 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam5_8;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Person {
+ private String name;
+ private int age;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public Person(String name, int age) {
+ this.name = name;
+ this.age = age;
+ }
+ public void introduceYourself(){
+ System.out.println("I am a person! My name is " + name + " I am " + age + " Old " );
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam_feb1/build.xml b/1401417015 AngelFlag/exam_feb1/build.xml
new file mode 100644
index 0000000..56d20ca
--- /dev/null
+++ b/1401417015 AngelFlag/exam_feb1/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project exam_feb1.
+
+
+
diff --git a/1401417015 AngelFlag/exam_feb1/manifest.mf b/1401417015 AngelFlag/exam_feb1/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/exam_feb1/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/exam_feb1/src/exam_feb1/.LCKStudent.java~ b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/.LCKStudent.java~
new file mode 100644
index 0000000..8cf019f
--- /dev/null
+++ b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/.LCKStudent.java~
@@ -0,0 +1 @@
+C:\Users\THE NET\Documents\GitHub\Java2014\1401417015 AngelFlag\exam_feb1\src\exam_feb1\Student.java
\ No newline at end of file
diff --git a/1401417003_KalinDimov/NewProject/src/newproject/NewProject.java b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/Exam_feb1.java
similarity index 74%
rename from 1401417003_KalinDimov/NewProject/src/newproject/NewProject.java
rename to 1401417015 AngelFlag/exam_feb1/src/exam_feb1/Exam_feb1.java
index 9ea4a62..e18a620 100644
--- a/1401417003_KalinDimov/NewProject/src/newproject/NewProject.java
+++ b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/Exam_feb1.java
@@ -1,23 +1,21 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package newproject;
-
-/**
- *
- * @author fmi
- */
-public class NewProject {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- System.out.println("Hello Git!");
- }
-
-}
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam_feb1;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Exam_feb1 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ }
+
+}
diff --git a/1401417015 AngelFlag/exam_feb1/src/exam_feb1/Person.java b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/Person.java
new file mode 100644
index 0000000..0a5ea07
--- /dev/null
+++ b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/Person.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam_feb1;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Person {
+
+}
diff --git a/1401417015 AngelFlag/exam_feb1/src/exam_feb1/Student.java b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/Student.java
new file mode 100644
index 0000000..5c142dd
--- /dev/null
+++ b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/Student.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam_feb1;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Student {
+
+}
diff --git a/1401417015 AngelFlag/exam_feb1/src/exam_feb1/printInfo.java b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/printInfo.java
new file mode 100644
index 0000000..9bf6259
--- /dev/null
+++ b/1401417015 AngelFlag/exam_feb1/src/exam_feb1/printInfo.java
@@ -0,0 +1,11 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package exam_feb1;
+
+
+public interface printInfo {
+ public void printInfo();
+}
diff --git a/1401417015 AngelFlag/extend/build.xml b/1401417015 AngelFlag/extend/build.xml
new file mode 100644
index 0000000..68d579d
--- /dev/null
+++ b/1401417015 AngelFlag/extend/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project extend.
+
+
+
diff --git a/1401417015 AngelFlag/extend/manifest.mf b/1401417015 AngelFlag/extend/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/extend/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/extend/src/extend/Extend.java b/1401417015 AngelFlag/extend/src/extend/Extend.java
new file mode 100644
index 0000000..4d4c886
--- /dev/null
+++ b/1401417015 AngelFlag/extend/src/extend/Extend.java
@@ -0,0 +1,19 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package extend;
+
+public class Extend {
+
+
+ public static void main(String[] args) {
+ classEdno B = new classEdno();
+ classTwo BB = new classTwo();
+
+ B.classTwo();
+ BB.classTwo();
+ }
+ }
+
diff --git a/1401417015 AngelFlag/extend/src/extend/classEdno.java b/1401417015 AngelFlag/extend/src/extend/classEdno.java
new file mode 100644
index 0000000..e03ffc0
--- /dev/null
+++ b/1401417015 AngelFlag/extend/src/extend/classEdno.java
@@ -0,0 +1,16 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package extend;
+
+/**
+ *
+ * @author THE NET
+ */
+public class classEdno extends classTwo{
+ public void classTwo(){
+ System.out.println("ClassEdno i Class dve sled malko ");
+ }
+}
diff --git a/0000000000_StoyanCheresharov/DataTypes/src/datatypes/Test.java b/1401417015 AngelFlag/extend/src/extend/classTwo.java
similarity index 60%
rename from 0000000000_StoyanCheresharov/DataTypes/src/datatypes/Test.java
rename to 1401417015 AngelFlag/extend/src/extend/classTwo.java
index 4af5c75..526186e 100644
--- a/0000000000_StoyanCheresharov/DataTypes/src/datatypes/Test.java
+++ b/1401417015 AngelFlag/extend/src/extend/classTwo.java
@@ -1,17 +1,17 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package datatypes;
-
-/**
- *
- * @author fmi
- */
-public class Test {
- public static int getAge() {
- return 50;
- }
-}
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package extend;
+
+/**
+ *
+ * @author THE NET
+ */
+public class classTwo {
+ public void classTwo(){
+ System.out.println("ClassTwo");
+ }
+
+}
diff --git a/1401417015 AngelFlag/factorial/build.xml b/1401417015 AngelFlag/factorial/build.xml
new file mode 100644
index 0000000..1b96186
--- /dev/null
+++ b/1401417015 AngelFlag/factorial/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project factorial.
+
+
+
diff --git a/1401417015 AngelFlag/factorial/manifest.mf b/1401417015 AngelFlag/factorial/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/factorial/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/factorial/src/factorial/Factorial.java b/1401417015 AngelFlag/factorial/src/factorial/Factorial.java
new file mode 100644
index 0000000..4b754fe
--- /dev/null
+++ b/1401417015 AngelFlag/factorial/src/factorial/Factorial.java
@@ -0,0 +1,39 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+
+package factorial;
+import java.util.*;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Factorial {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ int n, c, fact = 1;
+
+ System.out.println("Enter an integer to calculate factorial");
+ Scanner in = new Scanner(System.in);
+ n = in.nextInt();
+
+ if ( n < 0 )
+ System.out.println("Number should be non-negative.");
+ else
+ {
+ for ( c = 1 ; c <= n ; c++ )
+ fact = fact*c;
+
+ System.out.println("Factorial of "+n+" is = "+fact);
+ }
+
+}
+}
+
diff --git a/1401417015 AngelFlag/izpitnaZadacha/build.xml b/1401417015 AngelFlag/izpitnaZadacha/build.xml
new file mode 100644
index 0000000..a8db401
--- /dev/null
+++ b/1401417015 AngelFlag/izpitnaZadacha/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project izpitnaZadacha.
+
+
+
diff --git a/1401417015 AngelFlag/izpitnaZadacha/manifest.mf b/1401417015 AngelFlag/izpitnaZadacha/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/izpitnaZadacha/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Calculatable.java b/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Calculatable.java
new file mode 100644
index 0000000..4d07024
--- /dev/null
+++ b/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Calculatable.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package izpitnazadacha;
+
+/**
+ *
+ * @author THE NET
+ */
+public interface Calculatable {
+
+}
diff --git a/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/IzpitnaZadacha.java b/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/IzpitnaZadacha.java
new file mode 100644
index 0000000..9c81d10
--- /dev/null
+++ b/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/IzpitnaZadacha.java
@@ -0,0 +1,27 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package izpitnazadacha;
+
+/**
+ *
+ * @author THE NET
+ */
+public class IzpitnaZadacha {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // Задача 1
+ //Чрез диалог да се избере или куб, или цилиндър. Какъвто и да е изборът, чрез
+ //един и същ програмен код да се въведат размерите на фигурата и да се изведе обемът й.
+ //Обем на куб V \, = \, a^3 \, = \, a . a . a
+ //
+ //Ако прав кръгов цилиндър има височина h и радиус r, то обемът му се дава с формулата
+ //V = \PI r^2 h,
+ }
+
+}
diff --git a/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Kub.java b/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Kub.java
new file mode 100644
index 0000000..67a98d5
--- /dev/null
+++ b/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Kub.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package izpitnazadacha;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Kub {
+
+}
diff --git a/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Paralelepiped.java b/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Paralelepiped.java
new file mode 100644
index 0000000..8259f85
--- /dev/null
+++ b/1401417015 AngelFlag/izpitnaZadacha/src/izpitnazadacha/Paralelepiped.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package izpitnazadacha;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Paralelepiped {
+
+}
diff --git a/1401417015 AngelFlag/logic/build.xml b/1401417015 AngelFlag/logic/build.xml
new file mode 100644
index 0000000..877e90b
--- /dev/null
+++ b/1401417015 AngelFlag/logic/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project logic.
+
+
+
diff --git a/1401417015 AngelFlag/logic/manifest.mf b/1401417015 AngelFlag/logic/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/logic/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/logic/src/logic/Logic.java b/1401417015 AngelFlag/logic/src/logic/Logic.java
new file mode 100644
index 0000000..50b9b98
--- /dev/null
+++ b/1401417015 AngelFlag/logic/src/logic/Logic.java
@@ -0,0 +1,101 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package logic;
+
+import java.util.Scanner;
+
+public class Logic {
+
+
+ public static void main(String[] args) {
+
+ Scanner input = new Scanner(System.in);
+ System.out.print("Enter a= ");
+ int a= input.nextInt();
+ System.out.print("Enter b= ");
+ int b= input.nextInt();
+
+ System.out.print("a + b = "+ (a+b));
+ System.out.print("a*b = " + (a*b));
+ System.out.println ("a | b " + (a | b)); // + (a | b);
+ System.out.println("a & b " + (a & b));
+ System.out.println("a ^ b " + (a ^ b));
+
+ String name = "Boris";
+ String town = "Plovdiv";
+ String s = name;
+ int age = 18;
+ //string replace
+ System.out.println("My name is " + s + " from " + town +" and " + "I am " + age + " Old");
+
+ System.out.printf("The time is: %1$tH:%1$tM:%1$tS.\n",new java.util.Date());
+ //System.out.printf("The time is: %1$tH:%1$tM:%1$tS.\n",new java.util.Timer());
+
+
+ System.out.println("Enter First number = ");
+ int firstNumber = input.nextInt();
+ System.out.println("Enter Second Number = ");
+ int secondNumber = input.nextInt();
+
+ int biggerNumber = firstNumber;
+ if (secondNumber>firstNumber){
+ biggerNumber = secondNumber;}
+ System.out.printf("The bigger number is: %d%n", biggerNumber);
+
+ if (biggerNumber >= 5){
+ System.out.println("The Bigger number is >5");}
+ else {
+ System.out.println("The Bigger number is <5");
+ }
+ //if,else, for
+
+ while (biggerNumber<10)
+ {
+ System.out.println(biggerNumber);
+ biggerNumber++;
+ }
+ //triugulnik
+ System.out.print("enter value for n:= ");
+ int n = input.nextInt();
+
+ for(int row =1; row <= n; row++){
+ for(int col =1; col <= row; col++){
+ System.out.print(col); //" ");
+ }
+ System.out.println();
+ }
+ System.out.println("enter value for k:= ");
+ int k = input.nextInt();
+
+ for(int row = 1; row<=k; row++){
+ for(int row2 = 1; row2 {
+
+}
diff --git a/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/build.xml b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/build.xml
new file mode 100644
index 0000000..ff983c4
--- /dev/null
+++ b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project nestedlocalanonymouslambdaevents.
+
+
+
diff --git a/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/manifest.mf b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Listener.java b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Listener.java
new file mode 100644
index 0000000..e990cea
--- /dev/null
+++ b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Listener.java
@@ -0,0 +1,18 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package nestedlocalanonymouslambdaevents;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Listener implements MyEventHandler {
+
+ @Override
+ public void happened(Object sender){
+ System.out.println("The Event was Triggered");
+ }
+}
diff --git a/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/MyEventHandler.java b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/MyEventHandler.java
new file mode 100644
index 0000000..4ec0a6e
--- /dev/null
+++ b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/MyEventHandler.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package nestedlocalanonymouslambdaevents;
+
+/**
+ *
+ * @author THE NET
+ */
+public interface MyEventHandler {
+ void happened(Object sender);
+}
diff --git a/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Nestedlocalanonymouslambdaevents.java b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Nestedlocalanonymouslambdaevents.java
new file mode 100644
index 0000000..711c42d
--- /dev/null
+++ b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Nestedlocalanonymouslambdaevents.java
@@ -0,0 +1,36 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package nestedlocalanonymouslambdaevents;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Nestedlocalanonymouslambdaevents {
+
+ /**
+ * @param args the command line arguments
+ */
+
+ private static class NestedListener implements MyEventHandler{
+
+ @Override
+ public void happened(Object sender) {
+ System.out.println("Something happend. Event handler in my nested class");
+ }
+
+ }
+
+
+
+ public static void main(String[] args) {
+ Notifier notifier = new Notifier();
+ notifier.doSomething();
+ notifier.onSomething = new Listener();
+ notifier.doSomething();
+ }
+
+}
diff --git a/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Notifier.java b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Notifier.java
new file mode 100644
index 0000000..fb4281e
--- /dev/null
+++ b/1401417015 AngelFlag/nestedlocalanonymouslambdaevents/src/nestedlocalanonymouslambdaevents/Notifier.java
@@ -0,0 +1,24 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package nestedlocalanonymouslambdaevents;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Notifier {
+
+ public MyEventHandler onSomething;
+
+ public void doSomething(){
+ System.out.println("Do something was called");
+ if (onSomething != null) {
+ onSomething.happened(this);
+
+
+ }
+ }
+}
diff --git a/1401417015 AngelFlag/nfs/build.xml b/1401417015 AngelFlag/nfs/build.xml
new file mode 100644
index 0000000..f7ea841
--- /dev/null
+++ b/1401417015 AngelFlag/nfs/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project nfs.
+
+
+
diff --git a/1401417015 AngelFlag/nfs/manifest.mf b/1401417015 AngelFlag/nfs/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/nfs/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/nfs/src/Vehicle.java b/1401417015 AngelFlag/nfs/src/Vehicle.java
new file mode 100644
index 0000000..c3a44e9
--- /dev/null
+++ b/1401417015 AngelFlag/nfs/src/Vehicle.java
@@ -0,0 +1,13 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+/**
+ *
+ * @author THE NET
+ */
+class Vehicle {
+
+}
diff --git a/1401417015 AngelFlag/nfs/src/nfs/Drivable.java b/1401417015 AngelFlag/nfs/src/nfs/Drivable.java
new file mode 100644
index 0000000..bbd2639
--- /dev/null
+++ b/1401417015 AngelFlag/nfs/src/nfs/Drivable.java
@@ -0,0 +1,19 @@
+package nfs;
+
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+/**
+ *
+ * @author THE NET
+ */
+public interface Drivable {
+ void turnLeft();
+ void turnRgight();
+ void breakCar();
+ void accelerate();
+
+}
diff --git a/1401417015 AngelFlag/nfs/src/nfs/Nfs.java b/1401417015 AngelFlag/nfs/src/nfs/Nfs.java
new file mode 100644
index 0000000..8cef2a4
--- /dev/null
+++ b/1401417015 AngelFlag/nfs/src/nfs/Nfs.java
@@ -0,0 +1,21 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package nfs;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Nfs {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ }
+
+}
diff --git a/1401417015 AngelFlag/nfs/src/nfs/SportCar.java b/1401417015 AngelFlag/nfs/src/nfs/SportCar.java
new file mode 100644
index 0000000..29bd201
--- /dev/null
+++ b/1401417015 AngelFlag/nfs/src/nfs/SportCar.java
@@ -0,0 +1,29 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package nfs;
+
+/**
+ *
+ * @author THE NET
+ */
+public abstract class SportCar extends Vehicle {
+ public SportCar(String laber){
+ setLabel(label);
+ setType("Sport Car");
+ }
+}
+
+ @Override
+ public void turnLeft(){
+
+}
+ @Override
+ public void turnRight(){
+
+ }
+ @Override
+ public void breakCar(){
+ }
\ No newline at end of file
diff --git a/1401417015 AngelFlag/nfs/src/nfs/Vehicle.java b/1401417015 AngelFlag/nfs/src/nfs/Vehicle.java
new file mode 100644
index 0000000..8754f88
--- /dev/null
+++ b/1401417015 AngelFlag/nfs/src/nfs/Vehicle.java
@@ -0,0 +1,26 @@
+package nfs;
+
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+/**
+ *
+ * @author THE NET
+ */
+public abstract class Vehicle implements Drivable {
+ private String type;
+ private String label;
+
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+}
diff --git a/1401417015 AngelFlag/oop1_MyWorld/build.xml b/1401417015 AngelFlag/oop1_MyWorld/build.xml
new file mode 100644
index 0000000..084713f
--- /dev/null
+++ b/1401417015 AngelFlag/oop1_MyWorld/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project oop1_MyWorld.
+
+
+
diff --git a/1401417015 AngelFlag/oop1_MyWorld/manifest.mf b/1401417015 AngelFlag/oop1_MyWorld/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/oop1_MyWorld/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Athlete.java b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Athlete.java
new file mode 100644
index 0000000..b7ce2d1
--- /dev/null
+++ b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Athlete.java
@@ -0,0 +1,35 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package oop1_myworld;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Athlete extends Person{
+ protected String Sport;
+
+ public String getSport() {
+ return Sport;
+ }
+
+ public void setSport(String Sport) {
+ this.Sport = Sport;
+ }
+
+ public Athlete(String Sport, String name, int age){
+ super(name,age);
+ this.Sport = Sport;
+
+ }
+
+ @Override
+ public void introduceYourself(){
+ super.introduceYourself();
+ System.out.println("I am an Athlete. My name is " + name + " My sport is " + Sport + " and I am " + age + " years old");
+
+ }
+}
diff --git a/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Introduceable.java b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Introduceable.java
new file mode 100644
index 0000000..1f77d97
--- /dev/null
+++ b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Introduceable.java
@@ -0,0 +1,10 @@
+
+package oop1_myworld;
+
+
+public interface Introduceable {
+ //public int age = 40;
+ //public static final double Pi = 3.14;
+ public void introduceYourself();
+ //void mandatadory(int par1, String par2);
+}
diff --git a/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Oop1_MyWorld.java b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Oop1_MyWorld.java
new file mode 100644
index 0000000..460cdb0
--- /dev/null
+++ b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Oop1_MyWorld.java
@@ -0,0 +1,50 @@
+
+package oop1_myworld;
+
+
+public class Oop1_MyWorld {
+
+
+ public static void main(String[] args) {
+
+ System.out.println("I am proud with my greatest invention PI " + Person.PI);
+ // TODO code application logic here
+ Person angel = new Person("Angel", 30);
+ //angel.name = "Angel";
+ //angel.Age = 33;
+ //angel.setName("Angel");
+ //angel.setAge(33);
+ //System.out.println("I am a person! My name is " + angel.name + " I am " + angel.Age + " Old");
+ //System.out.println("I am a person! My name is " + angel.getName() + " I am " + angel.getage() + " Old");
+ angel.introduceYourself();
+
+ Person mariya = new Person("mariya", 21);
+ //mariya.name = "Mari
+ // mariya.Age = 30;
+ //mariya.setName("Mariya");
+ //mariya.setAge(30);
+ //System.out.println("I am a person! My name is " + mariya.name + " I am " + mariya.Age + " Old");
+ //System.out.println("I am a person! My name is " + mariya.getName() + " I am " + mariya.getage() + " Old");
+
+ mariya.introduceYourself();
+ Person Anonymous = new Person();
+
+ Anonymous.introduceYourself();
+ //System.out.println("I am a person! My name is " + Anonymous.getName() + " I am " + Anonymous.getage() + " Old");
+ Person Ivan = new Person("Ivan",22);
+
+ Ivan.introduceYourself();
+
+ Person Angel = new Student();
+ Angel.setName("Angel");
+ Angel.setAge(35);
+
+ //Angel.setfNumber(facultNomer);
+ Angel.introduceYourself();
+ Student iv40 = new Student("14040402","Iv40",33);
+ iv40.introduceYourself();
+
+ Athlete Ivan4o = new Athlete("Box","Ivan",22);
+ Ivan4o.introduceYourself();
+ }
+}
diff --git a/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Person.java b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Person.java
new file mode 100644
index 0000000..c61301f
--- /dev/null
+++ b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Person.java
@@ -0,0 +1,44 @@
+
+package oop1_myworld;
+
+
+public class Person {
+ //public String name;
+ //public int Age;
+ protected String name;
+ protected int age;
+
+ public static final double PI = 3.14;
+
+ public static String nationality = "Bulgarian.";
+
+ public String getName() {
+ return name;
+ }
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getage() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public Person(String name, int age){
+ this.name = name;
+ this.age = age;
+ }
+
+ public Person(){
+ this("Anonymous", 22);
+
+ }
+
+ public void introduceYourself()
+ {
+ System.out.println("I am a person! My name is " + name + " I am " + age + " Old " + "and I am " + nationality);
+ }
+}
diff --git a/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Student.java b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Student.java
new file mode 100644
index 0000000..fdc1228
--- /dev/null
+++ b/1401417015 AngelFlag/oop1_MyWorld/src/oop1_myworld/Student.java
@@ -0,0 +1,45 @@
+
+package oop1_myworld;
+
+
+public class Student extends Person{
+
+ protected String fNumber;
+
+ public String getfNumber() {
+ return fNumber;
+ }
+
+ public void setfNumber(String fNumber) {
+ this.fNumber = fNumber;
+ }
+
+ public Student(String fNumber, String name, int age) {
+ super(name, age);
+ this.fNumber = fNumber;
+ }
+
+ public Student() {
+ //this("Test",45);
+ fNumber = "3213123112312";
+ }
+
+ public Student(String name,int age) {
+ super(name,age);
+
+ }
+
+ @Override
+ public void introduceYourself(){
+ super.introduceYourself();
+ System.out.println("I am a student. My name is: " + name + " and My fNumber is: " + fNumber + " I am " + age + " years old. ");
+ }
+
+ @Override
+ public String toString(){
+ return "Student{"+ "fNumber=" + fNumber + '}';
+ }
+}
+
+
+
diff --git a/1401417015 AngelFlag/project1_1/build.xml b/1401417015 AngelFlag/project1_1/build.xml
new file mode 100644
index 0000000..bf7291a
--- /dev/null
+++ b/1401417015 AngelFlag/project1_1/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project project1_1.
+
+
+
diff --git a/1401417015 AngelFlag/project1_1/manifest.mf b/1401417015 AngelFlag/project1_1/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/project1_1/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/project1_1/src/project1_1/Project1_1.java b/1401417015 AngelFlag/project1_1/src/project1_1/Project1_1.java
new file mode 100644
index 0000000..7ae567e
--- /dev/null
+++ b/1401417015 AngelFlag/project1_1/src/project1_1/Project1_1.java
@@ -0,0 +1,49 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package project1_1;
+import java.util.Random;
+
+//б) произведението на ненулевите нечетни елементи;
+/**
+ *
+ * @author THE NET
+ */
+public class Project1_1 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+
+ int arr[] = new int[6];
+
+ int multiplied = 1;//инициализираме сума, която ти трябва за формулата;
+
+ for (int i = 0; i < arr.length; i++ ) {
+
+ arr[i] = generate();
+ System.out.println(arr[i]);
+
+ // тук изваждаме всички нечетни числа, които получаваме, когато разделим на две и имаме остатък едно!
+ //различно от нула.
+
+ if(arr[i]%2 != 0 && arr[i] != 0){
+ multiplied = multiplied * arr[i];
+
+ }
+
+ }
+ System.out.println("Произведението на всички нечетни числа различни от нула e: " + multiplied);
+ }
+
+ private static int generate() {
+ Random rand = new Random();
+ int n = rand.nextInt(201);
+ return n-100;
+
+ }
+
+}
diff --git a/1401417015 AngelFlag/project1_sra/build.xml b/1401417015 AngelFlag/project1_sra/build.xml
new file mode 100644
index 0000000..8815b45
--- /dev/null
+++ b/1401417015 AngelFlag/project1_sra/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project project1_sra.
+
+
+
diff --git a/1401417015 AngelFlag/project1_sra/manifest.mf b/1401417015 AngelFlag/project1_sra/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/project1_sra/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/project1_sra/src/project1_sra/Project1_sra.java b/1401417015 AngelFlag/project1_sra/src/project1_sra/Project1_sra.java
new file mode 100644
index 0000000..1e0f3f7
--- /dev/null
+++ b/1401417015 AngelFlag/project1_sra/src/project1_sra/Project1_sra.java
@@ -0,0 +1,61 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package project1_sra;
+import java.util.Random;
+/**
+ *
+ * @author THE NET
+ */
+public class Project1_sra {
+
+ /**
+ * @param args the command line arguments
+ */
+ //public static int arr[] = {};
+// arr[0] = generate();
+// arr[1] = generate();
+// arr[2] = generate();
+
+ public static void main(String[] args) {
+
+ int[] arr = new int[6];
+ //public static int arr[] = {};
+// arr[0] = generate();
+// arr[1] = generate();
+// arr[2] = ge
+ double br = 0;
+ double sum = 0;
+
+ for (int i = 0; i < arr.length; i++ ) {
+
+ arr[i] = generate();
+ System.out.println(arr[i]);
+
+ if(arr[i]%5 == 0){
+
+ sum = sum + arr[i];
+ System.out.println("Няма остатък: " + arr[i]);
+
+ br = br + 1;
+ }
+ }
+ System.out.println("Сумата на елементите е : " + sum + " и броят им е : " + br);
+ calc(sum, br);
+
+ }
+
+ private static int generate() {
+ Random rand = new Random();
+ int n = rand.nextInt(201);
+ return n-100;
+}
+
+ public static void calc(double sum, double br){
+
+ double result = sum / br;
+ System.out.println("средно аритметично на елементите, които се делят на 5 без остатък е: " + result);
+ }
+}
diff --git a/1401417015 AngelFlag/project2_arrayS#@rT/build.xml b/1401417015 AngelFlag/project2_arrayS#@rT/build.xml
new file mode 100644
index 0000000..319b818
--- /dev/null
+++ b/1401417015 AngelFlag/project2_arrayS#@rT/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project project2_arrayS#@rT.
+
+
+
diff --git a/1401417015 AngelFlag/project2_arrayS#@rT/manifest.mf b/1401417015 AngelFlag/project2_arrayS#@rT/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/project2_arrayS#@rT/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/project2_arrayS#@rT/src/project2_arrays/rt/Project2_arraySRT.java b/1401417015 AngelFlag/project2_arrayS#@rT/src/project2_arrays/rt/Project2_arraySRT.java
new file mode 100644
index 0000000..3dbd28b
--- /dev/null
+++ b/1401417015 AngelFlag/project2_arrayS#@rT/src/project2_arrays/rt/Project2_arraySRT.java
@@ -0,0 +1,164 @@
+package project2_arrays.rt;
+
+import java.util.Scanner;
+
+//Задача 4. Елементите на масив са имена на населени места,
+//започващи с главна буква. Да се съставят ППГ за:
+//а) въвеждане на елементите на масива (не повече от 50).
+//ж) извеждане на екрана на всички населени места, в чиито имена буквата
+//"е" или "Е" се среща 2, 3 или 4 пъти, а буквата "р" не се среща нито веднъж;
+
+public class Project2_arraySRT {
+
+
+ static int br = 0;
+ static String array [] = new String[50];
+ static Scanner keyboard = new Scanner(System.in, "windows-1251");
+
+ public static void main(String[] args) {
+
+ menu();
+ }
+
+ public static void menu() {
+
+ System.out.println("Меню"); // Извеждане на менюто в конзолата
+ System.out.println(" 1. Въвеждане на градове от конзола");
+ System.out.println(" 2. Въвеждане на градове от задание");
+ System.out.println(" 3. Принти масива");
+ System.out.println(" 4. Особената част!");
+ System.out.println(" 5. Изход");
+ System.out.print("Изберете възможност (1-5): ");
+
+ //int myChoice = keyboard.nextInt();
+
+ //String Text;
+ switch(keyboard.nextLine()){
+
+ case "1":
+ System.out.println("Вие избрахте 1: Въвеждане на градове от конзола");
+ input();
+ menu();
+
+ break;
+
+ case "2":
+ System.out.println("Вие избрахте 2: Въвеждане на градове от задание");
+ autoArray();
+ menu();
+ break;
+
+ case "3":
+ System.out.println("Вие избрахте 3 да принтирате масива");
+ printAll();
+ menu();
+ break;
+
+ case "4":
+ System.out.println("Вие избрахте да принтирате Особена част");
+ printSpecial();
+ menu();
+
+ break;
+
+ case "5":
+ System.out.println("Изход - Довиждане");
+ //menu();
+ break;
+
+ default:
+ System.out.println("Въвели сте грешен избор!");
+ menu();
+ break;
+
+ }
+
+ //Keyboard.close();
+
+ }
+ //int[] array = new int[50];//tova mi e za dvata masiva!
+
+
+ public static void input(){
+
+ System.out.print("Напишете град: ");
+
+ for (int i = br ; i < array.length; i++) {
+ array[i] = keyboard.nextLine();
+ break;
+ }
+ br++;
+ }
+
+ public static String autoTowns(){
+
+ String[] towns = {"Пловдив", "Бургас", "Боровец", "Варна","София", "Велико Търново",
+ "Стара Загора", "Ивайловград", "Крумовград","Долен Чифлик", "Хасково", "Долно Калугерово",
+ "Разград", "Пещера","Плевен", "Русе","Монтана", "Силистра", "Сливен", "Смолян",
+ "Търговище", "Шумен","Ямбол", "Благоевград", "Видин", "Враца", "Габрово",
+ "Добрич", "Кърджали","Кюстендил", "Ловеч", "Пазарджик",
+ "Перник", "Албена", "Златни пясъци", "Константин и Елена",
+ "Лозенец", "Царево", "Слънчев бряг","Пампорово", "Каварна", "Несебър",
+ "Ахтопол", "Черноморец", "Китен", "Карлово","Асеновград",
+ "Сопот", "Калофер", "Харманли", "Градешница", "Пловидв" };
+ br++;
+ return towns[br];
+
+ }
+
+ public static void autoArray(){
+
+ System.out.println("Избрани градове!");
+
+ for (int i = 0; i < array.length; i++){
+
+ array[i] = autoTowns();
+
+ }
+ br = array.length;
+
+
+ }
+
+ public static void printAll(){
+
+ System.out.println("Избраните градове сa: " + array[0]);
+
+ for(int i = 0; i < array.length; i++) {
+
+ if (array[i] == null) {
+ break;
+ }
+
+ System.out.println(array[i]);
+
+ }
+
+// for(String elements : array) {
+// System.out.println(elements);
+// }
+
+ }
+//
+ public static void printSpecial(){
+ System.out.println("->Градовете,в чиито имена буквата \"е\" или \"Е\" се " +
+ "среща 2, 3 или 4 пъти, а буквата \"р\" не се среща нито веднъж: \n");
+
+ int non=0;
+
+ for(int i=0; i
1 && br<5 && (array[i].indexOf('р') == -1))
+ {System.out.print(" " + array[i] + "; \n"); non++;}
+ }
+ if(0 == non) System.out.println("\nНяма такива!!!!");
+ }
+ }
+
+ //public static String[] m = new String[]{"Пловдив", "Бургас", "Боровец", "Варна","София", "Велико Търново", "Стара Загора", "Ивайловград", "Крумовград","Долен Чифлик", "Хасково", "Долно Калугерово", "Разград", "Пещера","Плевен", "Русе","Монтана", "Силистра", "Сливен", "Смолян", "Търговище", "Шумен","Ямбол", "Благоевград", "Видин", "Враца", "Габрово", "Добрич", "Кърджали","Кюстендил", "Ловеч", "Пазарджик", "Перник", "Албена", "Златни пясъци", "Константин и Елена", "Лозенец", "Царево", "Слънчев бряг","Пампорово", "Каварна", "Несебър", "Ахтопол", "Черноморец", "Китен", "Карлово","Асеновград", "Сопот", "Калофер", "Харманли", "Градешница" };
+
+//}
+
+
diff --git a/1401417015 AngelFlag/projecteasygo/build.xml b/1401417015 AngelFlag/projecteasygo/build.xml
new file mode 100644
index 0000000..d61e70a
--- /dev/null
+++ b/1401417015 AngelFlag/projecteasygo/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project projecteasygo.
+
+
+
diff --git a/1401417015 AngelFlag/projecteasygo/manifest.mf b/1401417015 AngelFlag/projecteasygo/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/projecteasygo/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/projecteasygo/src/projecteasygo/Projecteasygo.java b/1401417015 AngelFlag/projecteasygo/src/projecteasygo/Projecteasygo.java
new file mode 100644
index 0000000..7f9ac2d
--- /dev/null
+++ b/1401417015 AngelFlag/projecteasygo/src/projecteasygo/Projecteasygo.java
@@ -0,0 +1,38 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package projecteasygo;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Projecteasygo {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ //String imena[] = new String[50];
+ String[] imena = {"Пловдив", "Бургас", "Боровец", "Варна","София", "Велико Търново", "Стара Загора", "Ивайловград", "Крумовград","Долен Чифлик", "Хасково", "Долно Калугерово", "Разград", "Пещера","Плевен", "Русе","Монтана", "Силистра", "Сливен", "Смолян", "Търговище", "Шумен","Ямбол", "Благоевград", "Видин", "Враца", "Габрово", "Добрич", "Кърджали","Кюстендил", "Ловеч", "Пазарджик", "Перник", "Албена", "Златни пясъци", "Константин и Елена", "Лозенец", "Царево", "Слънчев бряг","Пампорово", "Каварна", "Несебър", "Ахтопол", "Черноморец", "Китен", "Карлово","Асеновград", "Сопот", "Калофер", "Харманли", "Градешница" };
+
+
+ //String[] array = new String[50];
+
+ низовеЗапочващиС(imena, "и");
+
+ System.out.println(imena);
+ }
+ public static void низовеЗапочващиС(String m[], String search){
+ System.out.println("Низове започващи с " + search + ":");
+
+ for(int i=0; i
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project test.
+
+
+
diff --git a/1401417015 AngelFlag/test/manifest.mf b/1401417015 AngelFlag/test/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/test/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/0000000000_StoyanCheresharov/DataTypes/src/datatypes/DataTypes.java b/1401417015 AngelFlag/test/src/test/Test.java
similarity index 83%
rename from 0000000000_StoyanCheresharov/DataTypes/src/datatypes/DataTypes.java
rename to 1401417015 AngelFlag/test/src/test/Test.java
index ee1ea68..53d89a4 100644
--- a/0000000000_StoyanCheresharov/DataTypes/src/datatypes/DataTypes.java
+++ b/1401417015 AngelFlag/test/src/test/Test.java
@@ -1,380 +1,364 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package datatypes;
-
-import java.io.IOException;
-import java.util.*;
-
-/**
- *
- * @author fmi
- */
-public class DataTypes {
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) throws IOException {
-
- if (args.length != 0) {
- System.out.println(Arrays.toString(args));
- }
- // TODO code application logic here
- byte myByte = 22;
- short myShort = 257;
- int myInt = -123;
- long myLong = 123L; // 077 0x077
-
- float myFloat = 2.34F;
- double myDouble = 2.34; //
-
- char myChar = 'c'; //'\u0000'
- boolean myBoolean = false; // true
-
- // -------------------- Referent -----
- String myName = "Stoyan\\ "; // \n
- Object myOtherByte = 3;
-
- System.out.print(myName);
- System.out.println(myName);
-
- // int ch;
- // 1.
- // ch = System.in.read();
- // System.out.print((char) ch);
-
- // while ((ch = System.in.read()) != '\n') {
- // System.out.print((char) ch);
- // }
-
- // 2.
- // java.util.Scanner input = new java.util.Scanner(System.in);
- Scanner input = new Scanner(System.in);
-
- System.out.print("Please enter your first name: ");
- String firstName = input.nextLine();
- System.out.println(firstName);
-
- double number1 = 3.14;
- double number2 = 2.71;
-
- System.out.println(number1 + number2);
-
- System.out.printf("%.3f \n", number1 + number2);
-
-// Old way for reading symbols
-// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
-// String firstString = br.readLine();
-// String lastString = br.readLine();
-// System.out.printf("Hello, %s %s!\n", firstString, lastString);
-
-
-
- for(int i = 0; i < 10; i++)
- {
- for (int j = 0; j < i; j ++)
- {
- System.out.print('*');
- }
- System.out.print("\n");
- }
-
- Operations(2.32, 45.6);
-
- // Excersise 2
- // ############################################## 2 ###################################
- // 1. Type conversions
- long minNumber = 1;
- long maxNumber = 1000000;
-
- // Generates a random number between 1 and 1000000
- long uniqueID = minNumber + (long)(Math.random() * ((maxNumber - minNumber) + 1));
-
- // You can cast from one primitive value into another by putting what you want between ( )
- // (byte) (short) (long) (double)
- // (float), (boolean) & (char) don't work.
- // (char) stays as a number instead of a character
-
- // You convert from a primitive to a string like this
- String stringNumber = Long.toString(maxNumber);
-
- // Byte.toString(bigByte); Short.toString(bigShort); Integer.toString(bigInt);
- // Float.toString(bigFloat); Double.toString(bigDouble); Boolean.toString(trueOrFalse);
-
- // You convert from a String to a primitive like this
- int numberString = Integer.parseInt(stringNumber);
-
- // parseShort, parseLong, parseByte, parseFloat, parseDouble, parseBoolean
-
- System.out.println("Unique ID set to: " + uniqueID);
-
-
- // 2) If
- String name = "";
-
- // userInput.hasNextLine() returns true if a String was entered in the keyboard
- if(input.hasNextLine()){
-
- // userInput.nextLine() returns the value that was entered at the keyboard
- System.out.print("Enter your family name; \n");
- name = input.nextLine();
-
- // hasNextInt, hasNextFloat, hasNextDouble, hasNextBoolean, hasNextByte,
- // hasNextLong, nextInt, nextDouble, nextFloat, nextBoolean, etc.
-
- }
-
- System.out.printf("%s \n", name);
-
- // 3. if-else
- int randomNumber = (int) (Math.random() * 126) + 1;
-
- char favoriteChar = (char) randomNumber;
-
- // if then else statement
- // > < == != >= <=
- if(randomNumber == 32){
-
- System.out.println("Favorite character set to: Space");
-
- } else if(randomNumber == 10){
-
- System.out.println("Favorite character set to: New Line");
-
- } else {
-
- System.out.println("Favorite character set to: " + favoriteChar);
-
- }
-
-
- // Logical operators
- // ! Logical operators : Converts the boolean value to its right to its opposite form ie. true to false
- // & : Returns true if boolean value on the right and left are both true (Always evaluates both boolean values)
- // && : Returns true if boolean value on the right and left are both true (Stops evaluating after first false)
- // | : Returns true if either boolean value on the right or left are true (Always evaluates both boolean values)
- // || : Returns true if either boolean value on the right or left are true (Stops evaluating after first true)
- // ^ : Returns true if there is 1 true and 1 false boolean value on the right or left
-
- if((randomNumber > 97) && (randomNumber < 122)){
-
- System.out.println("Favorite character is a lowercase letter");
-
- }
-
- if(((randomNumber > 97) && (randomNumber < 122)) || ((randomNumber > 64) && (randomNumber < 91))){
-
- System.out.println("Favorite character is a letter");
-
- }
-
- if(!false){
-
- System.out.println("I turned false to " + !false);
-
- }
-
- // The ternary operator assigns one or another value based on a condition
- int whichIsBigger = (50 > randomNumber) ? 50 : randomNumber;
-
- System.out.println("The biggest number is " + whichIsBigger);
-
-
- // 4. switch
- // The switch statement is great for when you have a limited number of values
- // and the values are int, byte, or char unless you have Java 7 which allows Strings
- switch(randomNumber){
-
- case 8 :
- System.out.println("Favorite character set to: Backspace");
- break;
-
- case 9 :
- System.out.println("Favorite character set to: Horizontal Tab");
- break;
-
- case 10 :
- case 11 :
- case 12 :
- System.out.println("Favorite character set to: Something else weird");
- break;
-
- default :
- System.out.println("Favorite character set to: " + favoriteChar);
- break;
-
- }
-
-
- // 5. loops
- // System.out.println(1);
- // System.out.println(2);
- // System.out.println(3);
-
- // 5.1 while
- int i = 1;
- while(i < (maxNumber / 2000)){
-
- System.out.println(i);
- i++;
-
- // This isn't needed, but if you want to jump out of a loop use break
- if(i == (maxNumber/20000)) break;
- }
-
- // 5.2 do - while
- int number = 50;
- // Do while loops are used when you want to execute the code in the braces at least once
- do {
-
- System.out.println("Guess my number up to 100");
-
- // If what they entered isn't a number send a warning
- while(!input.hasNextInt()){
-
- String numberEntered = input.next();
- System.out.printf("%s is not a number\n", numberEntered);
-
- }
- number = input.nextInt();
-
- }while(number != 50);
-
- System.out.println("Yes the number was 50");
-
-
- // 5.3 for
- for(int i1 = 0; i1 <= 100; i1++){
-
- // continue is used to skip 1 iteration of the loop
- if(i1 == 90) continue;
-
- System.out.println(i1);
-
- }
- // 5.4
- int[] numbers = {2, 3, 5, 7, 11, 13, 17, 19};
- for (int i2 : numbers){
- System.out.println(i2);
- }
-
- // An array is a fixed series of boxes that contain multiple values of the same data type
- // How you create arrays
- // int[] favoriteNumbers;
- // favoriteNumbers = new int[20];
-
- int[] favoriteNumbers1 = new int[20];
-
- favoriteNumbers1[0] = 100;
-
- String[] stringArray = {"Random", "Words", "Here"};
-
- // for(dataType[] varForRow : arrayName)
- for(String word : stringArray)
- {
- System.out.println(word);
- }
-
- // This is a multidimensional array
- String[][][] arrayName = {
- {
- { "000", "more1" },
- { "100", "more2" },
- { "200", "more3" },
- { "300", "more4" }
- },
- {
- { "010", "more5" },
- { "110", "more6" },
- { "210", "more7" },
- { "310", "more8" }
- },
- {
- { "020", "more9" },
- { "120", "more10" },
- { "220", "more11" },
- { "320", "more12" }
- }
- };
- System.out.println(arrayName[2][3][1]);
- /*
- for(int i = 0; i < arrayName.length; i++)
- {
- for(int j = 0; j < arrayName[i].length; j++)
- {
-
- for(int k = 0; k < arrayName[i][j].length; k++)
- {
- System.out.print("| " + arrayName[i][j][k] + " ");
-
- }
- }
-
- System.out.println("|");
-
- }
- */
- // You can copy an array (stringToCopy, indexes to copy)
- String[] cloneOfArray = Arrays.copyOf(stringArray, 3);
-
- // You can print out the whole array
- System.out.println(Arrays.toString(cloneOfArray));
-
- // Returns the index or a negative number
- System.out.println(Arrays.binarySearch(cloneOfArray, "Random"));
-
- Operations(1.0, 2.0);
- Operations(4.5, 1, 2, 3, 4);
-
- System.out.println(factoriel(10));
-
- Random randomGen = new Random();
-
- randomGen = null;
- // coolcsn.System.myMethod myClass = new coolcsn.System.myMethod();
- // 1. non static
- // datatypes.Test test = new datatypes.Test();
- // test.getAge();
-
- datatypes.Test.getAge();
-
- }
-
- static void Operations(double par1, double par2)
- {
- System.out.printf("%.2f + %.2f = %.2f", par1, par2, par1 + par2);
- }
-
- static void Operations(double par1, int... elements)
- {
- System.out.printf("\n %.2f ", par1);
- for (int number : elements) {
- System.out.println(number);
- }
- }
-
- public static int factoriel(int n)
- {
- if(n <= 1) return 1;
- return factoriel(n - 1) * n;
- }
-}
-
-/*
-import java.util.*;
-public class ReadingStringsNewStyle {
-public static void main(String[] args) {
-Scanner input = new Scanner(System.in);
-System.out.print("Please enter your first name: ");
-String firstName = input.nextLine();
-System.out.print("Please enter your last name: ");
-String lastName = input.nextLine();
-System.out.printf("Hello, %s %s!\n", firstName, lastName);
-// input.close(); - Don't close Scanner reading System.in!
-}
-}
-*/
\ No newline at end of file
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package test;
+
+import java.io.IOException;
+import java.util.*;
+
+/**
+ *
+ * @author fmi
+ */
+public class Test {
+
+ /**
+ * @param args the command line arguments
+ * @throws java.io.IOException
+ */
+ public static void main(String[] args) throws IOException{
+
+ // TODO code application logic here
+ byte myByte = 22;
+ short myShort = 257;
+ int myInt = -123;
+ long myLong = 123L; // 077 0x077
+
+ float myFloat = 2.34F;
+ double myDouble = 2.34; //
+
+ char myChar = 'c'; //'\u0000'
+ boolean myBoolean = false; // true
+
+ // -------------------- Referent -----
+ String myName = "Stoyan\\ "; // \n
+ Object myOtherByte = 3;
+
+ System.out.print(myName);
+ System.out.println(myName);
+
+ // int ch;
+ // 1.
+ // ch = System.in.read();
+ // System.out.print((char) ch);
+
+ // while ((ch = System.in.read()) != '\n') {
+ // System.out.print((char) ch);
+ // }
+
+ // 2.
+ Scanner input = new Scanner(System.in);
+ System.out.print("Please enter your first name: ");
+ String firstName = input.nextLine();
+ System.out.println(firstName);
+
+ double number1 = 3.14;
+ double number2 = 2.71;
+
+ System.out.println(number1 + number2);
+
+ System.out.printf("%.3f \n", number1 + number2);
+
+// Old way for reading symbols
+// BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
+// String firstString = br.readLine();
+// String lastString = br.readLine();
+// System.out.printf("Hello, %s %s!\n", firstString, lastString);
+
+
+
+ for(int i = 0; i < 10; i++)
+ {
+ for (int j = 0; j < i; j ++)
+ {
+ System.out.print('*');
+ }
+ System.out.print("\n");
+ }
+
+ Operations(2.32, 45.6);
+
+ // Excersise 2
+ // ############################################## 2 ###################################
+ // 1. Type conversions
+ long minNumber = 1;
+ long maxNumber = 1000000;
+
+ // Generates a random number between 1 and 1000000
+ long uniqueID = minNumber + (long)(Math.random() * ((maxNumber - minNumber) + 1));
+
+ // You can cast from one primitive value into another by putting what you want between ( )
+ // (byte) (short) (long) (double)
+ // (float), (boolean) & (char) don't work.
+ // (char) stays as a number instead of a character
+
+ // You convert from a primitive to a string like this
+ String stringNumber = Long.toString(maxNumber);
+
+ // Byte.toString(bigByte); Short.toString(bigShort); Integer.toString(bigInt);
+ // Float.toString(bigFloat); Double.toString(bigDouble); Boolean.toString(trueOrFalse);
+
+ // You convert from a String to a primitive like this
+ int numberString = Integer.parseInt(stringNumber);
+
+ // parseShort, parseLong, parseByte, parseFloat, parseDouble, parseBoolean
+
+ System.out.println("Unique ID set to: " + uniqueID);
+
+
+ // 2) If
+ String name = "";
+
+ // userInput.hasNextLine() returns true if a String was entered in the keyboard
+ if(input.hasNextLine()){
+
+ // userInput.nextLine() returns the value that was entered at the keyboard
+ System.out.print("Enter your family name; \n");
+ name = input.nextLine();
+
+ // hasNextInt, hasNextFloat, hasNextDouble, hasNextBoolean, hasNextByte,
+ // hasNextLong, nextInt, nextDouble, nextFloat, nextBoolean, etc.
+
+ }
+
+ System.out.printf("%s \n", name);
+
+ // 3. if-else
+ int randomNumber = (int) (Math.random() * 126) + 1;
+
+ char favoriteChar = (char) randomNumber;
+
+ // if then else statement
+ // > < == != >= <=
+ if(randomNumber == 32){
+
+ System.out.println("Favorite character set to: Space");
+
+ } else if(randomNumber == 10){
+
+ System.out.println("Favorite character set to: New Line");
+
+ } else {
+
+ System.out.println("Favorite character set to: " + favoriteChar);
+
+ }
+
+
+ // Logical operators
+ // ! Logical operators : Converts the boolean value to its right to its opposite form ie. true to false
+ // & : Returns true if boolean value on the right and left are both true (Always evaluates both boolean values)
+ // && : Returns true if boolean value on the right and left are both true (Stops evaluating after first false)
+ // | : Returns true if either boolean value on the right or left are true (Always evaluates both boolean values)
+ // || : Returns true if either boolean value on the right or left are true (Stops evaluating after first true)
+ // ^ : Returns true if there is 1 true and 1 false boolean value on the right or left
+
+ if((randomNumber > 97) && (randomNumber < 122)){
+
+ System.out.println("Favorite character is a lowercase letter");
+
+ }
+
+ if(((randomNumber > 97) && (randomNumber < 122)) || ((randomNumber > 64) && (randomNumber < 91))){
+
+ System.out.println("Favorite character is a letter");
+
+ }
+
+ if(!false){
+
+ System.out.println("I turned false to " + !false);
+
+ }
+
+ // The ternary operator assigns one or another value based on a condition
+ int whichIsBigger = (50 > randomNumber) ? 50 : randomNumber;
+
+ System.out.println("The biggest number is " + whichIsBigger);
+
+
+ // 4. switch
+ // The switch statement is great for when you have a limited number of values
+ // and the values are int, byte, or char unless you have Java 7 which allows Strings
+ switch(randomNumber){
+
+ case 8 :
+ System.out.println("Favorite character set to: Backspace");
+ break;
+
+ case 9 :
+ System.out.println("Favorite character set to: Horizontal Tab");
+ break;
+
+ case 10 :
+ case 11 :
+ case 12 :
+ System.out.println("Favorite character set to: Something else weird");
+ break;
+
+ default :
+ System.out.println("Favorite character set to: " + favoriteChar);
+ break;
+
+ }
+
+
+ // 5. loops
+ // System.out.println(1);
+ // System.out.println(2);
+ // System.out.println(3);
+
+ // 5.1 while
+ int i = 1;
+ while(i < (maxNumber / 2000)){
+
+ System.out.println(i);
+ i++;
+
+ // This isn't needed, but if you want to jump out of a loop use break
+ if(i == (maxNumber/20000)) break;
+ }
+
+ // 5.2 do - while
+ int number = 50;
+ // Do while loops are used when you want to execute the code in the braces at least once
+ do {
+
+ System.out.println("Guess my number up to 100");
+
+ // If what they entered isn't a number send a warning
+ while(!input.hasNextInt()){
+
+ String numberEntered = input.next();
+ System.out.printf("%s is not a number\n", numberEntered);
+
+ }
+ number = input.nextInt();
+
+ }while(number != 50);
+
+ System.out.println("Yes the number was 50");
+
+
+ // 5.3 for
+ for(int i1 = 0; i1 <= 100; i1++){
+
+ // continue is used to skip 1 iteration of the loop
+ if(i1 == 90) continue;
+
+ System.out.println(i1);
+
+ }
+ // 5.4
+ int[] numbers = {2, 3, 5, 7, 11, 13, 17, 19};
+ for (int i2 : numbers){
+ System.out.println(i2);
+ }
+
+ // An array is a fixed series of boxes that contain multiple values of the same data type
+ // How you create arrays
+ // int[] favoriteNumbers;
+ // favoriteNumbers = new int[20];
+
+ int[] favoriteNumbers1 = new int[20];
+
+ favoriteNumbers1[0] = 100;
+
+ String[] stringArray = {"Random", "Words", "Here"};
+
+ // for(dataType[] varForRow : arrayName)
+ for(String word : stringArray)
+ {
+ System.out.println(word);
+ }
+
+ // This is a multidimensional array
+ String[][][] arrayName = {
+ {
+ { "000", "001" },
+ { "100", "011" },
+ { "200", "021" },
+ { "300", "031" }
+ },
+ {
+ { "010", "101" },
+ { "110", "111" },
+ { "210", "121" },
+ { "310", "131" }
+ },
+ {
+ { "020", "201" },
+ { "120", "211" },
+ { "220", "221" },
+ { "320", "231" }
+ }
+ };
+ System.out.println(arrayName[2][3][1]);
+ /*
+ for(int i = 0; i < arrayName.length; i++)
+ {
+ for(int j = 0; j < arrayName[i].length; j++)
+ {
+
+ for(int k = 0; k < arrayName[i][j].length; k++)
+ {
+ System.out.print("| " + arrayName[i][j][k] + " ");
+
+ }
+ }
+
+ System.out.println("|");
+
+ }
+ */
+ // You can copy an array (stringToCopy, indexes to copy)
+ String[] cloneOfArray = Arrays.copyOf(stringArray, 3);
+
+ // You can print out the whole array
+ System.out.println(Arrays.toString(cloneOfArray));
+
+ // Returns the index or a negative number
+ System.out.println(Arrays.binarySearch(cloneOfArray, "Random"));
+
+
+
+ }
+
+ static void Operations(double par1, double par2)
+ {
+ System.out.printf("%.2f + %.2f = %.2f", par1, par2, par1 + par2);
+
+ }
+
+}
+
+/*
+import java.util.*;
+public class ReadingStringsNewStyle {
+public static void main(String[] args) {
+Scanner input = new Scanner(System.in);
+System.out.print("Please enter your first name: ");
+String firstName = input.nextLine();
+System.out.print("Please enter your last name: ");
+String lastName = input.nextLine();
+System.out.printf("Hello, %s %s!\n", firstName, lastName);
+// input.close(); - Don't close Scanner reading System.in!
+}
+}
+*/
+/**
+ *
+ * @author THE NET
+ */
+ //public class Test {
+
+ /**
+ * @param args the command line arguments
+ */
+ //public static void main(String[] args) {
+ // TODO code application logic here
+ // }
+
+//}
diff --git a/1401417015 AngelFlag/tryPhp/build.xml b/1401417015 AngelFlag/tryPhp/build.xml
new file mode 100644
index 0000000..12b2a24
--- /dev/null
+++ b/1401417015 AngelFlag/tryPhp/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project tryPhp.
+
+
+
diff --git a/1401417015 AngelFlag/tryPhp/manifest.mf b/1401417015 AngelFlag/tryPhp/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/tryPhp/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/tryPhp/src/tryphp/TryPhp.java b/1401417015 AngelFlag/tryPhp/src/tryphp/TryPhp.java
new file mode 100644
index 0000000..3f58a1e
--- /dev/null
+++ b/1401417015 AngelFlag/tryPhp/src/tryphp/TryPhp.java
@@ -0,0 +1,21 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package tryphp;
+
+/**
+ *
+ * @author THE NET
+ */
+public class TryPhp {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ }
+
+}
diff --git a/1401417015 AngelFlag/tutorial/build.xml b/1401417015 AngelFlag/tutorial/build.xml
new file mode 100644
index 0000000..df477d4
--- /dev/null
+++ b/1401417015 AngelFlag/tutorial/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project tutorial.
+
+
+
diff --git a/1401417015 AngelFlag/tutorial/manifest.mf b/1401417015 AngelFlag/tutorial/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/tutorial/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/tutorial/src/tutorial/Tutorial.java b/1401417015 AngelFlag/tutorial/src/tutorial/Tutorial.java
new file mode 100644
index 0000000..49546c4
--- /dev/null
+++ b/1401417015 AngelFlag/tutorial/src/tutorial/Tutorial.java
@@ -0,0 +1,61 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package tutorial;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Tutorial {
+
+ //static String randomString = "String to Print";
+ //static final Double PINUM = 3.141529;
+ int integerOne =22;
+ int integerTwo = integerOne + 1;
+
+ public static void main(String[] args) {
+ //int integerOne =22;
+ // int integerTwo = integerOne + 1;
+
+ //System.out.println(integerTwo);
+ byte bigByte = 127;
+ short bigShort = 32767;
+ int bigInt = 2100000000;
+ long bigLong = 9220000000000000000L;
+ float bigFloat = 3.14F;
+ double bigDouble = 3.148237948727347923748;
+ System.out.println(Double.MAX_VALUE);
+ System.out.println(Float.MAX_VALUE);
+
+ boolean trueOrFalse = true;
+
+ char randomChar = 66;
+ char anotherChar = 'A';
+
+ char escapedChars = '\\';
+
+ String randomString = "I am a random String";
+ String anotherString = "Stuff";
+
+ String andAnotherString = randomString + " " + anotherString;
+
+ String byteString = Byte.toString(bigByte);
+ String shortString = Short.toString(bigByte);
+ String intString = Integer.toString(bigByte);
+ String longString = Long.toString(bigByte);
+ String floatString = Float.toString(bigByte);
+ String doubleString = Double.toString(bigByte);
+ String booleanString = Boolean.toString(true);
+
+ double aDoubleValue = 3.14546466464;
+ int doubleToInt = (int) aDoubleValue;
+
+ System.out.println(randomChar);
+ System.out.println(andAnotherString);
+ System.out.println(doubleToInt);
+ }
+
+}
diff --git a/1401417015 AngelFlag/upr1zad2intI=5/build.xml b/1401417015 AngelFlag/upr1zad2intI=5/build.xml
new file mode 100644
index 0000000..b0a50c8
--- /dev/null
+++ b/1401417015 AngelFlag/upr1zad2intI=5/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project upr1zad2intI=5.
+
+
+
diff --git a/1401417015 AngelFlag/upr1zad2intI=5/manifest.mf b/1401417015 AngelFlag/upr1zad2intI=5/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/upr1zad2intI=5/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/upr1zad2intI=5/src/upr1zad2inti/pkg5/Upr1zad2intI5.java b/1401417015 AngelFlag/upr1zad2intI=5/src/upr1zad2inti/pkg5/Upr1zad2intI5.java
new file mode 100644
index 0000000..45a2d8a
--- /dev/null
+++ b/1401417015 AngelFlag/upr1zad2intI=5/src/upr1zad2inti/pkg5/Upr1zad2intI5.java
@@ -0,0 +1,22 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package upr1zad2inti.pkg5;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Upr1zad2intI5 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ int i = 2;
+ i = i + 19;
+ System.out.println(i);
+ }
+}
diff --git a/1401417015 AngelFlag/upr5_2/build.xml b/1401417015 AngelFlag/upr5_2/build.xml
new file mode 100644
index 0000000..a989077
--- /dev/null
+++ b/1401417015 AngelFlag/upr5_2/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project upr5_2.
+
+
+
diff --git a/1401417015 AngelFlag/upr5_2/manifest.mf b/1401417015 AngelFlag/upr5_2/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/1401417015 AngelFlag/upr5_2/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/1401417015 AngelFlag/upr5_2/src/upr5_2/Person.java b/1401417015 AngelFlag/upr5_2/src/upr5_2/Person.java
new file mode 100644
index 0000000..92ed371
--- /dev/null
+++ b/1401417015 AngelFlag/upr5_2/src/upr5_2/Person.java
@@ -0,0 +1,14 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package upr5_2;
+
+/**
+ *
+ * @author THE NET
+ */
+class Person {
+
+}
diff --git a/1401417015 AngelFlag/upr5_2/src/upr5_2/Upr5_2.java b/1401417015 AngelFlag/upr5_2/src/upr5_2/Upr5_2.java
new file mode 100644
index 0000000..57e7fe1
--- /dev/null
+++ b/1401417015 AngelFlag/upr5_2/src/upr5_2/Upr5_2.java
@@ -0,0 +1,21 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package upr5_2;
+
+/**
+ *
+ * @author THE NET
+ */
+public class Upr5_2 {
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String[] args) {
+ // TODO code application logic here
+ }
+
+}